<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 22/10/12 13:08, Leonardo Bacha Abrantes wrote:
<blockquote
cite="mid:CAG+8EEYeAWzc15o81cw0WyjWQ5T1Bj0yUvyd7+VF54+RueseKQ@mail.gmail.com"
type="cite">Hello guys,<br>
<br>
I have machines that icmp is blocked, so, nagios show the host is
down and the services are up.<br>
I know that I can configure another plugin like check_http instead
of check_host_alive (ping), however the problem is that if apache
gong down nagios will show that the host also is down, and it will
not correct.<br>
<br>
check dummy will show the result that I specify, so, image the
machine going down. Nagios will keep showing the host is up for
example.<br>
<br>
<br>
<br>
<br>
<div class="gmail_quote">On Fri, Oct 19, 2012 at 4:25 PM, <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:booleanenator@gmail.com" target="_blank">booleanenator@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">It is actually a feature. Active checks of
the host were expensive in older versions of Nagios, so Nagios
would correctly assume a host was up if it was able to
succesfully check a sercice associated with it. That code
changed and active checks are now part of the scheduling
logic.<br>
<br>
Why don't you want Nagios to check if the host is up?<br>
<br>
You can use the check dummy plugin as the host check command
and never check the host but then you will defeat the logic
that Nagios uses when a service goes down to force check the
host and supress the service notifications till it comes back
up and everything gets rechecked.<br>
Sent on the Sprint® Now Network from my BlackBerry®<br>
<div class="HOEnZb">
<div class="h5"><br>
</div>
</div>
</blockquote>
</div>
</blockquote>
you can use check_ssh or check that the nrpe deamon is running as
the "host" check, since if either one of those is not responding you
have some issue that require intervention .<br>
<br>
</body>
</html>