The killer idea, death by invention
Sun, 31/08/08 – 2:59 | No Comment

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 …

Read the full story »
business

musings of a business nature

geek, servers & tech

what else would be on here?

odds & sods

everything else

projects

new, old and for fun

videos

random video selection

geek, servers & tech »

Install Dell OpenManage 6.1 / omsa / omreport into Citrix XenServer dom0
Sat, 13/02/10 – 19:14 | No Comment

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

Modifications to www.carlheaton.co.uk
Wed, 13/01/10 – 4:02 | No Comment

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 …

Converting 32bit RRD to 64bit RRD (moving cacti between architectures)
Sat, 3/10/09 – 15:25 | One Comment

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.

Management
Mon, 17/08/09 – 14:59 | No Comment

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 …

Mexican Fisherman
Mon, 10/08/09 – 12:08 | No Comment

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 …

Arduino network support sounder
Tue, 30/06/09 – 17:15 | No Comment

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 …

CentOS 5.3 Smokeping 2.4.2 Install (quick)
Mon, 29/06/09 – 17:20 | 9 Comments

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.

CentOS 5.3 Zabbix 1.6.5 Install (quick)
Fri, 19/06/09 – 13:08 | 4 Comments

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.

http.sh
Sat, 31/01/09 – 2:15 | No Comment
http.sh

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 …

Just Feckin/Friggin/Fucking Google It
Sun, 7/12/08 – 2:30 | No Comment
Just Feckin/Friggin/Fucking Google It

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 …

Where do petrol price sites get their data?
Thu, 27/11/08 – 0:07 | No Comment
Where do petrol price sites get their data?

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: