Everything works! But I want more!
Paul DeLong
pdelong at advance.net
Wed Nov 24 18:22:53 CET 2004
Ben Hyde wrote:
> That's only marginally different than what I was doing and I still get
> a "Pending" label in my status map for my equivalent of some-hub. I
> guess my real question boils down to: "What is considered the 'right'
> way to represent objects in my status map that can not be actively or
> passively monitored."
>
> Possibly the answer is the above and I should just learn to think of
> the "Pending" label as denoting that no useful info is available for
> this component.
Just take Mark Nagel's idea a little bit further, and add a dummy
service to it (using /bin/true or check_ok as your service check, for
instance).
The host will never get out of a pending state, because its child
service will never go non-OK (it won't ping the host until any of its
services go down). If you want to force it to get out of the pending
state, try using "/bin/false" (or an equivalent) as the service check,
restart Nagios, force the check; then make the service check
"/bin/true"again, restart Nagios, and force the check. And make sure
you have state-retention turned-on.
Later,
Paul.
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
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