How-to DO NOT check_alive host?

Jon Angliss jon at netdork.net
Thu Sep 18 02:10:06 CEST 2008


On Wed, 17 Sep 2008 17:13:09 +0400, Proskurin Kirill
<k.proskurin at fxclub.org> 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?


define command {
	command_name		check_http
	command_line		$USER1$/check_http -H $HOSTADDRESS$
}


define host {
	check_command		check_http
	host_name		myhost
	address			1.2.3.4
	[..other configs options..]
}

This makes nagios use check_http as the "host alive" status, rather
than pings.
-- 
Jon Angliss


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