If 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
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.
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:
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.
# uname -a
Linux bellwether 3.2.0-53-generic #81-Ubuntu SMP
Thu Aug 22 21:01:03 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux