Personal tools
Document Actions

tux_nagios_alerts

Up to Scripts

tux_nagios_alerts

Posted by Rutger Bazen at July 29. 2008

On IRC:


21:47 < OMZ_zepher> So. what shall I make today?
21:48 < lefred> a nagios pluging for Tux ;)
21:48 < OMZ_zepher> Hmm..
21:48 < OMZ_zepher> Sure, why not.
21:48 < OMZ_zepher> What must it do?
21:49 < lefred> let the tux notify the alerts would be fine ;)
21:50 < OMZ_zepher> I`ll give it a go :D
21:50 < OMZ_zepher> It's been a year though :P
21:56 < OMZ_zepher> Not forgetting the fact that I've no clue how nagios sends its alerts. But thats just a minor setback
21:58 < OMZ_zepher> Ah.
21:58 < lefred> :)
22:05  * OMZ_zepher reads http://nagios.sourceforge.net/docs/3_0/eventhandlers.html
22:07 < OMZ_zepher> Ok. Let's begin :)
22:09 < lefred> :)
22:09 < lefred> I go to bed cya later
22:09 < OMZ_zepher> Haha, ok
22:10 < OMZ_zepher> I`ll send it to you tomorrow then
22:34 < OMZ_zepher> Done :)
22:34 < OMZ_zepher> Ok. Now to make a readme, and then i`ll post it on the forums


Attachments

Re: tux_nagios_alerts

Posted by Frederic Descamps at July 29. 2008

Thanks OMZ_zepher, I'll have a look at it asap and put feedback !




cheers


Re: tux_nagios_alerts

Posted by Rutger Bazen at July 29. 2008

This is a little update.


It now loads the tux modules and connects to the deamon only when needed,


This should decrease overhead.


Attachments

Re: tux_nagios_alerts

Posted by Frederic Descamps at July 30. 2008

I had to replace $SERVICEDISPLAY$ by $SERVICEDESC$ (on nagios 3)


My next step will be to try to send the notification via tcp because usualy the nagios is on a remote server and the Tux will be connected to my laptop :)


But your script will be very usefull :)




Another idea (if you are sitll looking for some ideas to develop) : a jabber/xmpp client for the Tux, so we could send commands via jabber to it, would be nice for remote control ;)




lefred.




Re: tux_nagios_alerts

Posted by Rutger Bazen at July 30. 2008

Haha! Awesome :)


Please post the modifications you make, I could use the TCP'd version at work.


Hmm. I dont know a lot about jabber/xmpp. So it will be fun.


I`ll give it a peek.


Powered by Ploneboard
You are here: Home Forum Scripts tux_nagios_alerts

Powered by Plone CMS, the Open Source Content Management System