New problem with acknowledging alerts?
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/
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
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Tuesday, February 21, 2006 5:16 PM To: hobbit at hswn.dk 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
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
-----Original Message----- From: Henrik Stoerner [mailto:henrik at hswn.dk] Sent: Tuesday, February 21, 2006 5:43 PM To: hobbit at hswn.dk 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:
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
Ahh, thanks very much for answering another newbie question!
Regards, Greg
participants (2)
-
glarkin@sourcehosting.net
-
henrik@hswn.dk