[hobbit] remote/commandline Acknowledge Alerts

Gavin Leonard gleonard at progrexion.com
Tue Mar 17 23:55:25 CET 2009


I would like to do this via my mobile phone.. I have a touch pro wm 6.1.. would I just send a txt message to the server formatted as Henrik suggested? More info on this would be very helpful as I am on the road often and would love to be able to acknowledge an alert from my phone..

-Gavin

-----Original Message-----
From: Gavin Leonard [mailto:gleonard at progrexion.com] 
Sent: Wednesday, March 11, 2009 3:36 PM
To: hobbit at hswn.dk
Subject: RE: [hobbit] remote/commandline Acknowledge Alerts

Are these tools already installed with the hobbit installation?

-Gavin

-----Original Message-----
From: Henrik Størner [mailto:henrik at hswn.dk] 
Sent: Wednesday, January 28, 2009 4:15 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] remote/commandline Acknowledge Alerts

In <Pine.LNX.4.64.0901231454510.15648 at pal32.desy.de> martin.flemming at desy.de writes:

>I've got some colleagues who don't want
>to use the Webinterface to disable/enable Alerts or
>send Acknowledge Alerts for 30 or 50 machines at once .....

Do you have "--no-pin" on the CGI_ACK_OPTS setting in hobbitcgi.cfg ?
That would let them ack multiple alerts from one webpage.

>so, is there any chance to do that,
>  remote ( with wget or curl .. maybe ..)
>or per commandline on the hobbitserver ?

You can send an ack with the "bb" tool

  bb IP.OF.HOBBIT.SERVER "hobbitdack 123 60 PSU replacement henrik"

would send an ack for the event with ID 123, valid for 
60 minuter. The text for the ack is the remainder of the command.
But you need to know the ID for each event (it's included in
the alert e-mail).

There's also the hobbit-mailack utility, which lets them send
ack's via e-mail.


Henrik


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





More information about the Xymon mailing list