[hobbit] acknowledgment for a yellow alert doesn't seem to work
Daniel Deighton
dan at deightime.net
Thu Apr 7 23:22:26 CEST 2005
Something strange happened on my server. It seems that a cookie expired
after only 9 minutes (or less). I've included the pertinent info below.
What would cause this behavior?
-Dan
Email Notifications Headers
-----
Subject:
Hobbit [753059]
sundeigh.deightime.net:meta CRITICAL
(RED)
Date:
Thu, 7 Apr 2005 16:29:54 -0400
(EDT)
notifications.log
-----
Thu Apr 7 15:59:54 2005 sundeigh.deightime.net.meta (1.1.1.1) dan-
hobbit at deightime.net 1112903993 999
Thu Apr 7 16:29:54 2005 sundeigh.deightime.net.meta (1.1.1.1) dan-
hobbit at deightime.net 1112905794 999
hobbitd.log
-----
2005-04-07 16:38:06 Cookie 753059 not found, dropping ack
After the ack failed, I ran the following (thanks for the patch,
Henrik):
-----
./bb 127.0.0.1 "hobbitdboard host=sundeigh.deightime.net test=meta
fields=hostname,testname,cookie"
sundeigh.deightime.net|meta|615614
date (run right after the above bb command)
-----
Thu Apr 7 16:42:05 EDT 2005
On Thu, 2005-04-07 at 13:57 -0400, Tom Georgoulias wrote:
> Tom Georgoulias wrote:
> > Henrik Stoerner wrote:
> > >
> >>Could you try the attached patch ? If causes hobbitd to log if it
> >>receives an ack-message that is discarded because the cookie was not
> >>valid.
>
> Patch seems to work.
>
> I have a yellow alert on a system.
>
> Check the cookie:
> -bash-2.05b$ ~/hobbit/server/bin/bb 127.0.0.1 "hobbitdboard
> host=radm200p.nandomedia.com test=disk fields=hostname,testname,cookie"
> radm200p.nandomedia.com|disk|406429
>
> Wait a while, then check again:
> -bash-2.05b$ ~/hobbit/server/bin/bb 127.0.0.1 "hobbitdboard
> host=radm200p.nandomedia.com test=disk fields=hostname,testname,cookie"
> radm200p.nandomedia.com|disk|712535
>
> Use the old cookie to try and ack the alert, then check hobbitd.log:
>
> bash-2.05b$ tail hobbitd.log
> 2005-04-06 14:55:48 Setup complete
> 2005-04-06 15:01:33 Setup complete
> 2005-04-07 13:21:55 Setup complete
> 2005-04-07 13:36:53 Cookie 406429 not found, dropping ack
>
> Stale cookie didn't work, event was logged.
>
> So now the real issue for me is how to use this piece of info about
> cookie lifespans when I put Hobbit into production. I don't want the
> support folks to have to log into my hobbit server and check for the
> latest cookie value before acknowledging an alert. I've also got a range
> of time & repeat delays for my alerts, depending on what system
> parameter is being measured, and I'd hate to have to use <30 mins across
> the board.
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
--
Daniel Deighton <dan at deightime.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20050407/0d5ae336/attachment.sig>
More information about the Xymon
mailing list