Pending Host Check ... Forever

Kertzman, Sam skertzman at servervault.com
Thu Mar 27 23:02:01 CET 2003


> Not requiring a check_command for a host is a _feature_ IMHO.  I have a
> couple of pieces of gear in my network (unmanaged hubs and switches)
> that need to be represented in Nagios so that graphs and dependencies
> work out correctly.  However, there's no direct way to determine if the
> host is up, except by the fact that I can reach hosts through 
> that piece of gear.  But yes, the infinite "pending" status is annoying.
> 
> Jeff

Try building a check in the checkcommands.cfg file that uses 'check_dummy
0'.  For example:

checkcommands.cfg

...
define command{
    command_name  check_ok
    command_line  $USER1$/check_dummy 0
}
...


hosts.cfg

...
define host{
    use            generic_host
    host_name      test_host
    alias          Generic Test Host
    check_command  check_ok
}
...


kertzman


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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