passive service check UNKNOWN causes HOST DOWN

Jasper Koolhaas jasper at geluids.net
Tue May 30 14:40:07 CEST 2006


Hiya!

When I feed a non-OK return code (1,2,3) to the nagios.cmd file for  
passive service check on a host, nagios subsequently executes the  
host check_command:

When I feed this to the nagios.cmd file:

[1148986085] EXTERNAL COMMAND: PROCESS_HOST_CHECK_RESULT;mp140;0;OK
[1148986085] PROCESS_SERVICE_CHECK_RESULT;mp140;dba_nu2;3;test

after that the logfile says:

[1148987085] HOST ALERT: mp140;UP;HARD;1;OK
[1148987085] EXTERNAL COMMAND:  
PROCESS_SERVICE_CHECK_RESULT;mp140;dba_nu;3;test
[1148987090] HOST ALERT: mp140;DOWN;HARD;1;CRITICAL: Results stale.

This even happens when I submit a non-existent service.

When i feed an OK code nothing happens. Disabling the check_command  
in the host setup fixes this beahvure as well, but now the staleness  
doen't work any more.

I think this is a bug...

Please e-mail to jasper at geluids.net for more details on the config  
files etc.

Kind regards, Jasper.



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642




More information about the Developers mailing list