Unless having apt "clean" at all times is a required function in your server, you might want to set your server so it doesn't propagate the yellow apt state upwards. This will keep the apt state from changing your overall "color".
Xymon is not designed to take any action on its own, but you can probably add your own link to the host page -- trying searching the archive for this.
But Webmin is a good alternative, if you can get to it from your "working hours" location.
GLH
On Tue, May 4, 2010 at 1:07 PM, Peter Toft <pto at linuxbog.dk> 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
-- Disclaimer: 1) all opinions are my own, 2) I may be completely wrong, 3) my advice is worth at least as much as what you are paying for it, or your money cheerfully refunded.