- Entries from July 2006 Entries from July 2006 http://tech.randomness.org.uk/ Nagios Setups http://tech.randomness.org.uk/Nagios_Setups.html http://tech.randomness.org.uk/Nagios_Setups.html Wed, 19 Jul 2006 00:55:17 GMT <p>In my time I've set up <a href="http://nagios.org">nagios</a> several times. If you find yourself setting up nagios you need to read the time saving tricks page(<a href="http://nagios.sourceforge.net/docs/1_0/templatetricks.html">v1</a>,<a href="http://nagios.sourceforge.net/docs/2_0/templatetricks.html">v2</a>). One thing that page doesnt mention and isn't obvious elsewhere in the documentation is that in service definitions you can have hostgroup_name and host_name defined.</p> Switching. http://tech.randomness.org.uk/Switching.html http://tech.randomness.org.uk/Switching.html Tue, 4 Jul 2006 00:56:40 GMT <p>No, Not that <a href="http://www.apple.com/getamac/">one</a> or indeed that <a href="http://www.mozilla.com/firefox/switch.html">one</a> (thinking about it I stopped using IE at least 7 years ago). I've finally succumbed and installed <a href="http://www.ubuntu.com/">Ubuntu</a> on my laptop.</p> <p> After several years of having <a href="http://openbsd.org">OpenBSD</a> as my desktop OS of choice I've decided to try something new. My work laptop has been<a href="http://www.sun.com/software/solaris/" >Solaris 10</a> for several months now given my previous incarnation as a Solaris Admin. However $work are a <a href="http://www.debian.org/">debian</a> shop. So ive become more accustomed to linux and its annoyances and even started to like some of the features (<a href="http://linux-net.osdl.org/index.php/Iproute2">iproute</a>,<a href="http://www.debian.org/doc/manuals/apt-howto/">apt</a>). Also it was time for a reinstall anyway.</p> <p> So I downloaded an iso and did the install dance. It all went smoothly. INstalling windowmaker and making it my session default was also easy. the choice of programs is overwhelming compared to what was in the openbsd ports collections. Then a bad thing happened. It ate my X config. I dont know why but it just did.Thankfully a reinstall fixed. Which was good thing since I had installed lots of crap anyway.</p> <p> Im seriously tempted to install it on my work laptop to.</p> Ooo Shiny Lights http://tech.randomness.org.uk/Ooo_Shiny_Lights.html http://tech.randomness.org.uk/Ooo_Shiny_Lights.html Mon, 31 Jul 2006 00:53:26 GMT <p> I was sitting in a datacentre in the arse end of nowhere the other day waiting for a machine to boot when I noticed that 4 drives were flashing their activity lights at the same time. The fact that these 4 drives were spread across 2 machines was really shiny. It meant that soemthing I had set up was obvioulsy working properly.</p> <p> Each machine had 2 mirrored disks using software raid which accounts for 2 drives in one machine flashing at the same time. What made all 4 drives flash at the same time was <a href="http://www.drbd.org/">drbd</a> which is bascially network raid 1.</p> <p> We are using <a href="http://www.drbd.org/">drbd</a> along with <a href="http://linux-ha.org/HeartbeatProgram">heartbeat</a> to provide a HA solution for our database needs.</p> <p> Anyway it felt good to realise that soemthing I had setup had a physical means to show it is working. Although it has to be said it felt quite good when I could just yank the power out of a machine and have the database failover nicely.</p>