how to let nagios think host is online

Mika Chu ledondo2000 at gmail.com
Mon Apr 13 08:57:45 CEST 2009


Hi all,
I have one host need to be monitoring, but it is not allow ping. So the
nagios plug-in check_ping can not work. Host line in the web page is red.
How can I let nagios think it is OK?
I checked the manual, about host definition, check_command

This directive is used to specify the *short name* of the command that
should be used to check if the host is up or down. Typically, this command
would try and ping the host to see if it is "alive". The command must return
a status of OK (0) or Nagios will assume the host is down. If you leave this
argument blank, the host will *not* be actively checked. Thus, Nagios will
likely always assume the host is up (it may show up as being in a "PENDING"
state in the web interface). This is useful if you are monitoring printers
or other devices that are frequently turned off. The maximum amount of time
that the notification command can run is controlled by the
host_check_timeout option.

sorry, I don't understand what should I do. Please advice me.

Thanks a lot!

-- 
---
Mika Chu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090413/d0e4c11e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
-------------- next part --------------
_______________________________________________
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