Force host assume up when services are up

Assaf Flatto nagios at flatto.net
Mon Oct 22 14:13:54 CEST 2012


On 22/10/12 13:08, Leonardo Bacha Abrantes wrote:
> Hello guys,
>
> I have machines that icmp is blocked, so, nagios show the host is down 
> and the services are up.
> 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.
>
> 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.
>
>
>
>
> On Fri, Oct 19, 2012 at 4:25 PM, <booleanenator at gmail.com 
> <mailto:booleanenator at gmail.com>> wrote:
>
>     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.
>
>     Why don't you want Nagios to check if the host is up?
>
>     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.
>     Sent on the Sprint® Now Network from my BlackBerry®
>
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 .

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121022/e2c8db97/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
-------------- 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