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, <booleanena...@gmail.com <mailto:booleanena...@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 .

------------------------------------------------------------------------------
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
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to