[hobbit] New Features #2 (the 'publish-cookie' option)

Kauffman, Tom KauffmanT at nibco.com
Wed May 11 20:18:01 CEST 2005


Did this make it into 4.0.3 RC1 or 2?

Although, truth to tell, I prefer the acknowledge web page option.

And I need to dig into Apache security (pointers to appropriate doc
cheerfully accepted). I have 14 remote sites whith equipment we monitor
centrally. I would really like each site's local contact to be able to
acknowledge alerts or disable tests for his site only, while leaving the
central support group the option to handle alerts and test disabling for
all systems.

Tom

-----Original Message-----
From: Henrik Stoerner [mailto:henrik at hswn.dk] 
Sent: Tuesday, April 19, 2005 7:37 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] New Features #2

On Tue, Apr 19, 2005 at 10:44:36AM +0100, Marsh, Ian wrote:

>   What I'd like to be able to do is to pre-empt the alert by having
> access to the ack code earlier, as soon as the status changes to red,
> and have the code displayed on the individual test page. The way I
> envisage this happening is that the ack code is generated when the
test
> turns red rather than when an alert is sent out. This code can then be
> included on the tests status page where we have easy access to it. The
> text could be displayed in a similar fashion to the text currently
added
> when an alert is acknowledged.

Try the attached patch - should work against 4.0.2. Apply with

   cd hobbit-4.0.2
   patch -p0 </tmp/hobbit-4.0.2-cookies.patch
   make
   stop hobbit
   make install (as root)
   start hobbit

This makes the cookie appear on the detailed status page if it has not
yet been acknowledged. By default I've disabled this - you must add
the option "--publish-cookies" to the hobbitsvc.cgi command in
~/server/cgi-bin/bb-hostsvc.sh to enable this.

I haven't yet made up my mind if this is a good idea or not. Another
solution I've thought about is to make an acknowledge webpage similar
to the enable/disable webpage, where you can choose which tests to
acknowledge. And publishing the cookies on the status-page becomes
more difficult with the planned changes to the alerting where
escalations are handled.


Regards,
Henrik



More information about the Xymon mailing list