Pending Host Check ... Forever

Fredrik Wänglund fredrik.wanglund at datavis.se
Fri Mar 28 08:33:08 CET 2003


Or a litle bit more simple one:

define service {
...
check_command                  "echo OK"
...
}

/FredrikW

Kertzman, Sam wrote:

>>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
>  
>




-------------------------------------------------------
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