0

Collecting data from Liebert ICOM units

 Liebert ICOM Display PageIf you’ve ever wanted to poll and collect data from your Liebert ICOM-controlled HVAC units, look no further. Well, let me retract that. You may want to set up a SNMP server to do graphing, syslogging, uptime reporting, and other data analysis. However, if you are looking for a simple way to grab certain data points and write them to a CSV file, then this is for you. You will need a python enabled machine with network access on the same broadcast domain as the ICOM units, and a way to scp or get data off that machine. In my case, I used an open relay to email the files as attachments. So let us begin by looking at the URLs of the ICOM units to decide which data points we wish to collect. Continue reading

Share Button
0

Python email script to monitor Ubiquiti PTP links

I have a short PTP link with a few Ubiquiti (UBNT) Nanostation M5s that I wanted to monitor. Since these aren’t extremely important, I didn’t want to dedicate a lot of time configuring SNMP and setting up a Cacti or Nagios server. However, I would still like to know if something goes down. Here is a short little python email script that pings both sides of the link every five minutes. In the event it fails, it sends an email/text message and then sleeps for an hour and checks again. This could also be utilized to check other hosts or network devices.

Continue reading

Share Button
0

WeLoveServers.net VPS performance and first impressions

My younger sister wanted me to set her up with a little blog so she could have her own corner of the internet. Naturally, I decided to start shopping VPS providers at LowEndBox.com for a good deal. I came across a wonderful extended black Friday deal that is still active! WeLoveServers.net has everything you need in a bare VPS and brings a great value proposition to boot. Right now, they have a $19/yr deal that was too good to pass up. Below are the details:

LEB 1GB

  • 1GB RAM
  • 1.2GB vSwap
  • 4 vCPU Cores
  • 30GB Disk space
  • 1TB Bandwidth
  • 100Mbps uplink
  • 1x IPv4 address
  • OpenVZ/SolusVM
  • $19/Year | Order

Continue reading

Share Button
4

How to install fail2ban on Ubuntu 12.04 for SSH and WordPress

Getting fail2ban working with diverse scenarios and customizing to your like can be tricky, especially for wordpress. Thankfully, there are many regex filters and action.d confs for endless possibilities! Please read below to see my method of configuration.

I am working with Ubuntu 12.04.3 LTS i386 (32-bit). Note, you will need to sudo for most of the commands below. This has been omitted from the code boxes simply because I prefer to sudo -s (new shell) first.

Continue reading

Share Button