Xymon Mailing List Archive search

apt handling in Hobbit for Debian/Ubuntu Linux

list Bruce White
Wed, 5 May 2010 08:25:01 -0500
Message-Id: <user-6c6e996bc67b@xymon.invalid>

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: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX | user-58f975e8bf9d@xymon.invalid | 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:user-75d8727ddf46@xymon.invalid] 
Sent: Tuesday, May 04, 2010 2:24 PM
To: user-ae9b8668bcde@xymon.invalid
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. [user-8cc09e024d22@xymon.invalid] http://petertoft.dk
I blog at http://www.version2.dk/blogs/petertoft