You can also write script which uses the bb command with the query option (see the bb man page. It will return the current color for a host:test and based on that result your script can respond to the situation which needs to be addressed.
......Bruce
Bruce White Senior Enterprise Systems Engineer | Phone: 630-671-5169 | Fax: 630-893-1648 | bewhite at fellowes.com | http://www.fellowes.com/ Disclaimer: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc. -----Original Message----- From: Tony Larco [mailto:tlarco at polr.com] Sent: Tuesday, May 04, 2010 2:24 PM To: hobbit at hswn.dk Subject: Re: [hobbit] apt handling in Hobbit for Debian/Ubuntu Linux
I have not, but I believe you can call a script based on a condition with xymon. Check the hobbit-alerts file for more info. Big Brother was a monitor and notify system only, but I think Henrik wrote the functionality where you can call a script that will do an apt-get update/upgrade/dist-upgrade on your server. In terms of having anything tied to the web gui, I can't say. HTH
Tony
On 05/04/2010 02:07 PM, Peter Toft wrote:
Hi all
I have Xymon/hobbit monitoring a Debian box, which has a nice SERVICE=apt monitor on it. I often see that an update is needed - typically it comes 5 minutes AFTER I leave my server :) Thus I often have my server showing yellow service flag for the apt-service until I get home in the evening. I can obviously acknowledge this warning from the Xymon web-interface, but has anyone of you been extending Xymon for handling apt-updating via the webinterface?
(During daytime I do not have ssh access to the server - and I know that I could install webmin to solve this)
Best
Peter
Peter Toft, Ph.D. [pto at linuxbog.dk] http://petertoft.dk I blog at http://www.version2.dk/blogs/petertoft
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk