Cacti IPMI data via SNMP

IPMI data to SNMP

I’ve been monitoring CPU, Ram, HDD, and network usage using cacti for a while, but recently I’ve wanted to monitor temperature and fan data. A couple of servers have IPMI on them, which I can use to access the temperature and fan data, however there doesn’t seem to be an easy way of getting this into cacti.

I started off following IPMI Sensor Data on Dell 1850s and 2850s via SNMP and Cacti by Barry O’Donovan; however that is now a bit old, and it seems that a couple of things seem to have changed.
Continue reading

Linode DDNS and OpenWrt updater

Linode DDNS updater script

So my domain registrar doesn’t do DDNS (dynamic dns), but Linode have an API to update your DNS records that you have on their name servers, so you can do DDNS with your own domains really easily!

I use my Wifi router with OpenWrt on to run the update script every hour. There are a couple of updater scripts out there, a quick Google will find you some. Below is one I’ve bodged together using a couple I found Continue reading

Stop lubuntu turning off screen

stop lubuntu 11.04 blanking screen.
etc etc etc

Turns out lubuntu 11.04 uses xfce4-power-manager-settings. So to stop the screen blanking / going to sleep / turning off all you need to do is press ALT F2 (Run command) then enter


and then you can set the screen to never turn off! Yay

Don’t know why this isn’t in the System or Preferences menu…

Eclipse, PHPUnit, xdebug, MakeGood and Ubuntu (PHP Unit testing)

Well after about 2 hours of head desking I have I got the above to all work nicely together.

Firstly you need to install all the prerequisites. If you are using you can install most of these though apt-get. I assume you have LAMP set up locally and you will be testing on this

sudo apt-get install php5-dev php-pear php5-cli php5-xdebug phpunit

This will install a bunch of stuff you will need. If you want to install from source feel free.

Continue reading

Arduino + LCD + Telnet = good fun

So I have been playing with my arduino with a LCD I got ages ago. First off I had to solder some pin headers to the LCD so that I can plug it into a breadboard. I could have soldered the pins straight to the LCD but I used some ribbon cable in the middle, and some veroboard (Note to self: Get a dremel for birthday, that stuff is a pain to cut though!) to add flexibility and some give if/when I drop it… Continue reading