I've hacked up two action scripts for Lithium:
jira_alert.pl
: create an issue in Jira. I'd suggest running this one after a while (like 5 minutes or so) so you don't get bugs created for transient incidents. It has to keep some state, so it uses a Berkeley DB hash - currently that's stored in /var/tmp
- you should change that to somewhere better that you know your Lithium instance can write to.
jabber_alert.pl
: send an alert message to a (comma-separated) list of recipients. It turns out, of course, that somewhere in the twisty little maze of Perl dependencies there's some bitrot in an unmaintained module (XML::Stream) that causes it to barf if you're using the OpenFire Jabber server, so you'll need to patch a few lines of code - see the top of jabber_alert.pl
for instructions on this.
size: 12 KB.
last modified: 2008-05-24.
size: 12 KB.
last modified: 2008-05-22.
09:17 · comments (0)
Archives
...the last 3 months :
Recent Posts
Posts Recently Commented Upon
Other Recent Listening
Hair
sorta dark red with one blond bit.Wasting Time On
Links
Help Save The World
I may not (so far) run the kind of blog that posts social conscience linkage - other friends seem to have it covered better than I could manage (yes, I'm aware that's no excuse), but this doesn't mean that I don't care about the State of ThingsTM.
i donate to :
but there's other things worth worrying about too, like :
Looking For Something ?
Feed ?
yes indeed - a merged feed of my flickr photos, del.icio.us tags and posts here:
Licensing
This weblog is licensed under a Creative Commons License.
Leave a comment