Passive host check

Andreas Ericsson ae at op5.se
Fri Mar 11 09:15:10 CET 2005


Kaare Rasmussen wrote:
> Hi
> 
> Normally you'd write something like this
> [<time>] PROCESS_SERVICE_CHECK_RESULT;<host>;<service>;<exit code>;<message>
> 
> to nagios.cmd if you want to return a passive service check.
> 
> What I can't find is what to put in <service> to make it a host check?
> 

How about replacing PROCESS_SERVICE_CHECK_RESULT with 
PROCESS_HOST_CHECK_RESULT and simply omitting the service? It's all in 
the docs, but requires Nagios 2.x. Nagios 1.x doesn't support passive 
host-checks.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list