acks & maint.pl aren't working

Tom Georgoulias tgeorgoulias at mcclatchy.com
Mon Apr 11 16:13:53 CEST 2005


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.




More information about the Xymon mailing list