Xymon Mailing List Archive search

acks & maint.pl aren't working

list David Stuffle
Mon, 11 Apr 2005 14:53:21 -0500
Message-Id: <user-93ff7dabd46b@xymon.invalid>

Tom Georgoulias wrote:
Upgraded to 4.0.2 this morning and while most everything
went smoothly, a couple of things did not.  Not sure if
these two are 
related just yet.

ack:

Cannot acknowledge an alert using the cookie from either
the subject line of the email alert or the command line
(~/server/bin/bb 127.0.0.1 "hobbitdboard
host=secret.nandomedia.com test=conn
fields=hostname,testname,cookie"). 

Strangely enough, it seems teh cookies are still being
regenerated frequently, instead of remaining valid for 24
hours (like I 
thought the
latest patch did).

[bb at radm202p ext]$ ~/server/bin/bb 127.0.0.1 "hobbitdboard
host=secret.nandomedia.com test=conn
fields=hostname,testname,cookie"
secret.nandomedia.com|conn|402332 [bb at radm202p ext]$
~/server/bin/bb 127.0.0.1 "hobbitdack 402332 30 using
command line ack for 402332"
[bb at radm202p ext]$ tail ~/data/acks/acklog
[bb at radm202p ext]$ tail ~/log/hobbitd.log
2005-04-11 09:05:24 How did this happen? clients=0,
s.sem_op=0 2005-04-11 09:05:34 Setup complete 2005-04-11
09:08:28 How did this happen? clients=0, s.sem_op=0
2005-04-11 09:08:38 Setup complete 2005-04-11 09:40:34
Cookie 87973 not found, dropping ack 2005-04-11 09:41:38
Cookie 587666 not found, dropping ack 2005-04-11 09:54:35
Cookie 587666 not found, dropping ack 2005-04-11 09:55:45
Cookie 873795 not found, dropping ack 2005-04-11 09:56:33
Cookie 873795 not found, dropping ack 2005-04-11 10:06:29
Cookie 402332 not found, dropping ack [bb at radm202p ext]$

Trying to disable the same system via the disable CGI
didn't work either.  The script stops at "Processing" and
the system is 
not disabled.

This is what I see in /var/log/httpd/error_log

[Mon Apr 11 09:59:25 2005] [error] [client 10.1.1.20]
[Mon Apr 11 09:59:25 2005] maint.pl: Use of uninitialized
value in pattern match (m//) at
/home/bb/cgi-secure/maint.pl line 222. 

My acks aren't working either.  Not through ack menu pick or email reply's.
I'm getting the same "maint.pl: Use of uninitialized value..." error, but
the times don't correspond with my ack attempts.  I do see the acks getting
logged in the procmail.log file, but they're not ack'ing.  This was
happening before and after the 4.0.2 upgrade.

~~~~~~~~~~~~~~
David Stuffle
Delta Faucet Company


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.