How-to DO NOT check_alive host?

Andreas Ericsson ae at op5.se
Wed Sep 17 19:49:04 CEST 2008


Hari Sekhon wrote:
> Proskurin Kirill wrote:
>> Hello.
>>
>> Im have some servers what don`t accept any icmp packets.
>> Im check http port on it. But nagios by default does check_alive - and 
>> say what host is down.
>>
>> How can im evade this?
>>   
> use the "negate" program to invert the meaning of the check_ping plugin?
> 

Umm, no. That won't work very well at all, as the host then will seem
to be up no matter if it's on fire or whatever happens to it.

A more appropriate method would be to check something else on the host
that the host can (and does) respond to properly. TCP connections to
some random (open) port is usually a fairly decent bet.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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