[Nagios-devel] passive service check UNKNOWN causes HOST DOWN

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] passive service check UNKNOWN causes HOST DOWN

Post by Guest »

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 [email protected] for more details on the config
files etc.

Kind regards, Jasper.






This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked