Tue, 27 Jul 2010
[11:01] | [] | Luddite news
Sun, 11 Jul 2010
Released aasms 0.6 with a few bugs fixed, and support for the new iccid based direct-to-SIM stuff.
[22:15] | [/python] | aasms 0.6
Mon, 14 Jun 2010
More aasms hacking, v0.4 can now get the username and password from a config file, so you don't have to have them in the process name. (which is more or less why I started the whole exercise)
[21:45] | [/python] | aasms v0.4
Finally setup my aasms module with nagios, which was really the point of the whole exercise.
First, define some new notification commands more or less like this:
define command{
command_name notify-host-by-sms
command_line send-aa-sms --file=/etc/nagios3/aasms.config -d $CONTACTEMAIL$ -m "***** Nagios *****Notification Type: $NOTIFICATIONTYPE$ Host: $HOSTNAME$ State: $HOSTSTATE$ Address: $HOSTADDRESS$ Info: $HOSTOUTPUT$ Date/Time: $LONGDATETIME$"
}
# 'notify-service-by-email' command definition
define command{
command_name notify-service-by-sms
command_line send-aa-sms --file=/etc/nagios3/aasms.config -d $CONTACTEMAIL$ -m "***** Nagios *****Notification Type: $NOTIFICATIONTYPE$ Service: $SERVICEDESC$ Host: $HOSTALIAS$ Address: $HOSTADDRESS$ State: $SERVICESTATE$ Date/Time: $LONGDATETIME$ Additional Info: $SERVICEOUTPUT$"
}
/etc/nagios3/aasms.config should be replaced with an appropriate config file for aasms readable only by nagios. Then define a new contact:
define contact{
contact_name mstevens-sms
alias Michael Stevens (SMS)
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,r
host_notifications_enabled 1
service_notifications_enabled 1
service_notification_commands notify-service-by-sms
host_notification_commands notify-host-by-sms
email your_mobile_here
}
Just add this contact to appropriate groups, and you should now get SMS notification of outages.
The key advantage of all this over the curl example on the A&A site is that you don't have to put your account details in the process name, and they can live privately in a nice config file instead.
[21:44] | [/python] | aasms and nagios
Sun, 13 Jun 2010
Very minor tweaks to Proc::InvokeEditor, created a github repository for it, and uploaded the shiny new to CPAN.
While I was there, noticed some very old versions of some modules I had on CPAN, and deleted them.
[19:18] | [/perl] | Proc::InvokeEditor v.103
Mon, 07 Jun 2010
Hooked on gadgets, and paying a mental price
(the cynic in me suggests the recent surge in articles on this topic is related to the forthcoming book from Nicholas Carr)
[12:15] | [/distraction] | Distraction continued
Thu, 27 May 2010
[15:17] | [/web] | More on distraction
Wed, 26 May 2010
Further SMS hacking, added a command line script, now available at aasms 0.2.
[19:23] | [/python] | aasms 0.2
Multitasking still considered bad
How (and Why) to Stop Multitasking
(Yes, I know I keep going on about this every 5 minutes to anyone who'll stand still long enough)
[10:11] | [/web] | Multitasking still considered bad
Tue, 25 May 2010
Hacking a bit on some Python code to talk to A&A's SMS service.
Doesn't really do much yet, but put up a github repo to play with at http://github.com/mstevens/aasms.
Mon, 17 May 2010
After many years of membership, first of Amicus, then of Unite, I've now left and am no longer a union member.
I like the idea of union membership to some degree, but I thought, amongst other things, the phone call telling me to vote for Gordon Brown was the last straw.
[16:44] | [/union] | Leaving Unite
Wed, 28 Apr 2010
Been fiddling with the home network / general computing environment the last few days out of a general plan to make things cooler and also have more reliable internets.
Done so far:
- New 5 port gigabit switch for connecting desktop and phone and anything else that comes along
- Got VoIP phone from A&A installed and setup.
- Switching to running the ADSL on a phone line managed by A&A in order to have a single point of contact when it doesn't work. Line installed, waiting for them to sort out providing ADSL over it.
- Got the final bits to setup the new OpenBSD router, in particular a USB to serial adapter.
- Spent a while trying to build a new image for my Nanonote. Got it building now, and reported a couple of missing dependencies in the build process.
- Acquired a USB to micro-SD card adapter and copied all my music onto a micro-SD card for use in the nanonote.
I was amused to note it took a guy from BT Openreach about 2.5 hours to install a phone line. And he went to the wrong street initially. Still, he did turn up quite early, which is a positive.
Stuff I'm still working on:
- Waiting for BT to actually provide the ADSL on the new phone line they're supposed to. Apparently there's a "line plant" problem.
- Actually building the new OpenBSD router, rather than just owning the pile of bits.
- Waiting for the new 8 port gigabit switch for another room (with more computers) to arrive, and installing it.
- Installing new mattress (okay not strictly computer related).
- Doing a bit more hacking on the Nanonote to get it going as a media player.
- Fixing the broken bookcase whose brokenness I spotted whilst moving things around so the BT guy could install another line.
I am very pleased with the VoIP stuff so far and can't recommend A&A as suppliers enough.
[15:04] | [/internets] | Exciting Home Network News
Thu, 08 Apr 2010
Ars Technica have, as you might expect, reviewed the iPad.
Actually kinda puts me off the thing, although a lot of the problems sound like 1.0 issues.
[15:55] | [/apple] | Ars Technica Reviews the iPad
Wed, 07 Apr 2010
The Pen Addict is giving away free pens
[12:04] | [/pens] | Free pens!
I love Linux, it's so great. Output from the mount command...
//server.example.com/mstevens on /export/mstevens type cifs (rw,mand) //server.example.com/mstevens on /export/mstevens type cifs (rw,mand) //server.example.com/mstevens on /export/mstevens type cifs (rw,mand) //server.example.com/mstevens on /export/mstevens type cifs (rw,mand) //server.example.com/mstevens on /export/mstevens type cifs (rw,mand)
[09:59] | [/unix] | Linux is so great
Thu, 01 Apr 2010
- xkcd have gone command line
- A&A drop that nasty legacy "IPv4" protocol
- Google launch new animal translation service
- Google Docs launch some new features
- Charlie Stross announces new literary direction
- More Charlie Stross news
- The iCade, a great new iPad accessory
- Google choose new name
- New video format from YouTube
- kernel.org move to australia
- Exciting new Starbucks offerings
- The true perspective on atheism
- New direction for PostgreSQL
- Apache Software Foundation sell to Oracle
- New use for Circle Line
More on the day as it develops.
[17:08] | [/web] | Exciting news today
My ISP have just started providing IPv6 Coffee. Excellent.
[12:03] | [/web] | A&A IPv6 Coffee
Thu, 25 Feb 2010
Keeping computers from ending science's reproducibility
Keeping computers from ending science's reproducibility
I think this is a hugely important issue that doesn't get enough attention.
[13:46] | [/science] | Keeping computers from ending science's reproducibility
Mon, 01 Feb 2010
[12:53] | [/web] | Procrastination
Mon, 28 Dec 2009
Started the setup on the new etla.org server, now to be called eris.etla.org. Hoping to get people and services moved over in the next week or two.
[16:12] | [/unix] | Eris setup
Sun, 22 Nov 2009
"If you don't want to run out of ideas, the best thing to do is not to execute."
[19:46] | [/web] | "If you don't want to run out of ideas, the best thing to do is not to execute."
Wed, 04 Nov 2009
My Wikireader arrived.
[14:51] | [] | Wikireader
Sat, 01 Aug 2009
Had to stop using the spam filtering service I was using for etla.org, so I now expect to get drowned in the stuff.
[20:27] | [/unix] | Spam filtering
My Life Offline - interesting article, fits in well with my frequent anti-internet moods lately.
[20:19] | [/web] | My Life Offline
[19:56] | [/web] | Rejecta Mathematica
Wed, 11 Mar 2009
Someone's collection of links to online CS courses.
I don't remember exactly where I found it, I think Hacker News
[21:31] | [/web] | Comp Sci links
Tue, 24 Feb 2009
I went to Brussels at the weekend!
I'm too lazy to write it up properly, but you can Look at the Photos.
[17:05] | [/web] | My Trip To Brussels
Sat, 06 Dec 2008
After thinking about doing it for ages, webmail on etla.org should be working again.
Tue, 26 Aug 2008
The CPAN mirror at cpan.etla.org is temporarily broken, as it's having trouble rsyncing updates. I'm investigating as much as I have time for.
[21:39] | [] | CPAN broke
Thu, 24 Jul 2008
Mon, 21 Jul 2008
The Underground History of American Education - looks like it could be interesting reading, although I don't have time to actually read it at the moment.
[19:10] | [/web] | More Distraction
[19:09] | [/web] | Distraction
Tue, 27 May 2008
I've been using my mac mini as a backup server for ages. Over the weekend it died. I'm almost certain it's the hard drive.
I'm going to attempt to replace the hard drive, and I should even get some extra space if it works, but I'm thinking it may be time to upgrade my storageness.
At the moment I'm tempted by the ReadyNAS Duo. Lots more storage, RAID, hopefully less to manage, and I'm told it probably does the rsync things I use at the moment for backups.
[21:36] | [] | Time to buy a NAS?
Sun, 13 Apr 2008
Been trying gnus for email a bit.
Seems better than I remember it. IMAP support works nicely, although I didn't try SSL, which I remember being the tricky bit. Spent a while with it mysteriously showing mail in folders where I know I'd deleted it. I don't know what the actual cause was, but disabling the "agent" seems to have fixed it.
Got bbdb installed and integrated nicely, need to have a look at one of the nicer quoting packages.
Mon, 24 Mar 2008
Low cost laptop cheat sheet. Personally I like the look of the Asus 901, although it's a bit expensive. And not actually available yet.
(Sourced from Roger)
[22:19] | [/web] | Low cost laptop cheat sheet
Sat, 09 Feb 2008
Put a contract out on yourself!
I found stickK in the Economist this week. It seems like an excellent idea - motivate yourself by contracting to pay out if you don't meet personal goals.
[15:45] | [/web] | Put a contract out on yourself!
Sat, 28 Jul 2007
[14:19] | [/web] | Thunderbird leaving mozilla
Mon, 11 Jun 2007
[16:57] | [/web] | GCSE Physics destroyed