check_ping stuck on 'PENDING'
jmoseley at corp.xanadoo.com
jmoseley at corp.xanadoo.com
Mon Jan 12 16:52:35 CET 2009
I checked the object defintion documentation before replying and didn't
find any such reference that you could exclude hosts out of host or service
group definitions by using a 'bang' symbol. I thought a bang (!) was used
only to separate arguments in check_commands.
Even if this feature is legitimate, why make the configuration more
complex? Get rid of the host groups in the service definitions and include
only those hosts you want checked. Basically, make the configuration as
simple as possible to find and fix the problem with the host that has a
service check stuck in pending. Then add back in the more complex
configuration options (like service dependencies) one at a time.
My $.02.
James Moseley
Robert Yeo
<r.yeo at utah.edu>
To
01/12/2009 09:33 <Nagios-users at lists.sourceforge.net
AM >
cc
Subject
Re: [Nagios-users] check_ping stuck
on 'PENDING'
The ! is to remove servers that have been included already in the line
above
in the hostgroup_name, that way I do not need to spell them all out
individually or create different groups if you have one server that doesn't
fit with everything. Basically I do not want to monitor Check CPU Load on
every server in the Nmw_Servers group, so I exclude them on the next line.
I thought this was OK to do this?
I will remove the host_name in case the ! is making things weird and my
service dependencies as well and let you know what happens.
Thanks for the help!
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
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