how do i?

Marc Powell marc at ena.com
Thu Oct 15 04:13:49 CEST 2009


(re-ordering for context)

>
> Terry.Rankine at csiro.au wrote:
>> Hi
>>
>> I have a host with 7 services, when i reboot the host, the services  
>> fail one by one and i get emails for them all.
>> How do i tell ngaios to do something like:
>>
>> 1.       Service check depends on host availability. If host is  
>> down, don’t check the service.
>> 2.       And when a service fails – do a host check almost straight  
>> away.

>> On Oct 14, 2009, at 8:38 PM, Lyle Giese wrote:

> http://nagios.sourceforge.net/docs/1_0/dependencies.html
>
> It's called a dependency in Nagios.

Actually, nagios does this automatically; no dependency is required.  
When any service fails, the check_command for the host definition is  
run immediately. If that returns a non-OK result, all notifications  
for services on the host are suppressed until it recovers.  The OP  
must not have a host check_command that accurately determines when the  
host is down.

--
Marc


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
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