1.3: Cannot ping a host, so how do I tell if it is "up"?
Jim Perrin
jperrin at gmail.com
Sun Dec 18 22:36:47 CET 2005
On 12/18/05, fire-eyes <sgtphou at fire-eyes.org> wrote:
> I'm using 1.3.
>
> When I define a host, the only command defined which I see I can use is
> check-host-alive. This uses ping to determine if it is "UP". What could
> I do to determine if it is up, if I can't ping it, since the host drops
> those?
>
> I figure I could fall back to a tcp port, however I tried
> check_tcp!someport but nagios doesn't like the "!someport" in hosts.cfg.
>
> Any ideas?
>
>
tcping works quite well and check_tcp works, you're probably just not
phrasing the check correctly for it.
--
Jim Perrin
System Architect - UIT
Ft Gordon & US Army Signal Center
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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