Xymon Mailing List Archive search

New problem with acknowledging alerts?

5 messages in this thread

list Greg Larkin · Mon, 20 Feb 2006 16:40:42 -0500 ·
Hi folks,

I've started configuring my hobbit-alerts.cfg and have been experimenting
with acknowledging alerts.  So far, I can't get ACKs to work, and it looks
like this has been a problem in the past for previous versions of Hobbit.

However, I am using 4.1.2p1 server and clients on all of my machines.  When
I try to ACK an alert, I get this on my Mac OS X 10.3.9 server in
hobbitd.log:

2006-02-20 16:28:07 Cookie 0 not found, dropping ack

I researched the old postings on the mailing list, and all of the other
questions about this problem seemed to have a valid value for the cookie.
What does the 0 zero signify?  I looked through the hobbitd source code, but
couldn't figure out how to fix the problem.

Any ideas?

Thank you,
Greg

SourceHosting.net, LLC
Ready. Set. Code.
http://www.sourcehosting.net/
list Henrik Størner · Tue, 21 Feb 2006 23:15:36 +0100 ·
quoted from Greg Larkin
On Mon, Feb 20, 2006 at 04:40:42PM -0500, Greg Larkin wrote:
Hi folks,

I've started configuring my hobbit-alerts.cfg and have been experimenting
with acknowledging alerts.  So far, I can't get ACKs to work, and it looks
like this has been a problem in the past for previous versions of Hobbit.

However, I am using 4.1.2p1 server and clients on all of my machines.  When
I try to ACK an alert, I get this on my Mac OS X 10.3.9 server in
hobbitd.log:

2006-02-20 16:28:07 Cookie 0 not found, dropping ack

I researched the old postings on the mailing list, and all of the other
questions about this problem seemed to have a valid value for the cookie.
What does the 0 zero signify?  I looked through the hobbitd source code, but
couldn't figure out how to fix the problem.
A "0" cookie is invalid - internally, hobbitd considers that to mean "no
cookie".

The ack cookie is taken from the input you provide on the acknowledgment 
form. When you get the "Acknowledgment sent to ..." webpage, what does
the URL look like that you're on ?


Regards,
Henrik
list Greg Larkin · Tue, 21 Feb 2006 17:37:58 -0500 ·
quoted from Henrik Størner
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid] 
Sent: Tuesday, February 21, 2006 5:16 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] New problem with acknowledging alerts?

On Mon, Feb 20, 2006 at 04:40:42PM -0500, Greg Larkin wrote:
Hi folks,

I've started configuring my hobbit-alerts.cfg and have been experimenting
with acknowledging alerts.  So far, I can't get ACKs to work, and it looks
like this has been a problem in the past for previous versions of Hobbit.

However, I am using 4.1.2p1 server and clients on all of my machines.
When
I try to ACK an alert, I get this on my Mac OS X 10.3.9 server in
hobbitd.log:

2006-02-20 16:28:07 Cookie 0 not found, dropping ack

I researched the old postings on the mailing list, and all of the other
questions about this problem seemed to have a valid value for the cookie.
What does the 0 zero signify?  I looked through the hobbitd source code,
but
couldn't figure out how to fix the problem.
A "0" cookie is invalid - internally, hobbitd considers that to mean "no
cookie".

The ack cookie is taken from the input you provide on the acknowledgment 
form. When you get the "Acknowledgment sent to ..." webpage, what does
the URL look like that you're on ?


Regards,
Henrik


[Greg Larkin] 
Hi Henrik,

Thank you for the information.  Here's an example URL when I land on the
"Acknowledgement sent to Hobbit servers" page:

http://192.168.1.240/cgi-bin/bb-ack.sh?ACTION=Ack&DELAY=60&MESSAGE=The+SMTP+
service+keeps+flapping&NUMBER=GCL&Send=Send

I have entered a message and a code, but the hobbitd.log file still says;

2006-02-21 17:34:43 Cookie 0 not found, dropping ack

Regards,
Greg
list Henrik Størner · Tue, 21 Feb 2006 23:43:15 +0100 ·
quoted from Greg Larkin
On Tue, Feb 21, 2006 at 05:37:58PM -0500, Greg Larkin wrote:
Thank you for the information.  Here's an example URL when I land on the
"Acknowledgement sent to Hobbit servers" page:

http://192.168.1.240/cgi-bin/bb-ack.sh?ACTION=Ack&DELAY=60&MESSAGE=The+SMTP+
service+keeps+flapping&NUMBER=GCL&Send=Send
That "NUMBER=GCL" is bogus. It's taken from the "Acknowledgment Code"
field on the web form, and it must be the ack number that you got from 
an alert (the number enclosed in square brackets in the subject).


Henrik
list Greg Larkin · Tue, 21 Feb 2006 17:51:20 -0500 ·
quoted from Henrik Størner
-----Original Message-----
From: Henrik Stoerner [mailto:user-ce4a2c883f75@xymon.invalid]
Sent: Tuesday, February 21, 2006 5:43 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] New problem with acknowledging alerts?

On Tue, Feb 21, 2006 at 05:37:58PM -0500, Greg Larkin wrote:
Thank you for the information.  Here's an example URL when I land on the
"Acknowledgement sent to Hobbit servers" page:

http://192.168.1.240/cgi-bin/bb-
ack.sh?ACTION=Ack&DELAY=60&MESSAGE=The+SMTP+
quoted from Henrik Størner
service+keeps+flapping&NUMBER=GCL&Send=Send
That "NUMBER=GCL" is bogus. It's taken from the "Acknowledgment Code"
field on the web form, and it must be the ack number that you got from
an alert (the number enclosed in square brackets in the subject).


Henrik
Ahh, thanks very much for answering another newbie question!

Regards,
Greg