1944AC: Inventor and chemist Thomas Midgley, Jr. accidentally strangled himself with the cord of a pulley-operated mechanical bed of his own design.
Turns out Thomas Midgley, Jr. also invented CFCs but didn’t live long enough to …
musings of a business nature
what else would be on here?
everything else
new, old and for fun
random video selection
A quick guide to getting openmanage installed for RAID monitoring on a Xen node.
OM 6.2 has an error with “Error: Missing Dependency: libxslt.so.1″ which is with the Dell package. Use 6.1 if 6.2 doesn’t work for you (R710 for example).
1. wget -q -O – http://linux.dell.com/repo/hardware/OMSA_6.1/bootstrap.cgi | bash
2. yum install srvadmin-storage.i386
3. srvadmin-services.sh start
Now test:
omreport storage pdisk controller=0
Sending an email on degraded RAID using omreport:
1. wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/8/Fedora/i386/os/Packages/mailx-8.1.1-46.fc7.i386.rpm
2. rpm -Uv mailx-8.1.1-46.fc7.i386.rpm
3. mkdir /root/scripts/
4. vi /root/scripts/check.raid.sh
#!/bin/sh
rm /tmp/check.raid.txt
omreport storage pdisk controller=0 | grep State | grep -v Online > /tmp/check.raid.txt
FILESIZE=$(stat -c%s "/tmp/check.raid.txt")
if [ $FILESIZE != 0 ];
then
omreport storage pdisk controller=0 > /tmp/check.raid.txt
cat /tmp/check.raid.txt | mail -s 'check RAID on XENxx' some@maildomain.ext
echo "RAID - FAIL (mail sent)"
else
echo "RAID - OK"
fi
5. chmod +x /root/scripts/check.raid.sh
6. crontab -e
*/5 * * * * /root/scripts/check.raid.sh >/dev/null 2>&1
7. Test /root/scripts/check.raid.sh
I’ve been making a few modifications to *.carlheaton.co.uk like re-introducing the core Carl Heaton index page with a list of projects and other on-going ideas.
I will still post tutorials/dumps here where appropriate for code, server …
While migrating cacti over to a new virtual machine I got “ERROR: This RRD was created on another architecture” in /var/log/httpd/error_log when the crontab ran resulting in blank graphs.
A man flying in a hot air balloon suddenly realizes he’s lost. He reduces height and spots a man down below. He lowers the balloon further and shouts to get directions, “Excuse me, can you …
An American investment banker was at the pier of a small coastal Mexican village when a small boat with just one fisherman docked. Inside the small boat were several large yellowfin tuna. The American complimented …
This project needs properly documenting, but in short it’s a Diecimila with a network module a 6V buzzer and tri-colour LED connected to PWM which provides an audible and visible alert upon the receipt of …
Install the latest smokeping (without distributed polling) on a virgin Centos 5.3 minimal box… It’s probably the best (free) tool for monitoring network latency at a glance.
Examples: Pipe Ten Derby and Pipe Ten Sheffield.
A quick reference for a from-scratch Zabbix install on CentOS 5.3. We’ve used Zabbix for the past 3 or 4 years and just implementing 1.6.5 across multiple Xen nodes for funky distributed monitoring.
I’ve faffed with this one and poorly hacked some jquery and facebook connect examples along with trusty ol’ PHP on the front-end, on the back-end is a nice c scheduler engine which seems to be …
JFGIT.com was just a quick domain registration, modification of the google home page and a bit of mod_rewrite. It’s intended for the ‘education’ of people too lazy to use the wonderful search tool called Google.
How …
After an IRC conversation about GPS, we randomly got onto a discussion about finding the cheapest petrol prices and where those services get the data.
There were a few ideas: