Services are dependent on the host they run on?

Roberto Nunnari roberto.nunnari at supsi.ch
Fri May 27 09:04:03 CEST 2011


Terry Carmen wrote:
> Quoting Assaf Flatto <nagios at flatto.net>:
> 
>>> Any hint/advice/guidance is very welcome.
>>>
>>> Thank you and best regards.
>>>
>>> Robi
>>>
>> check out service dependencies
>>
>> http://nagios.sourceforge.net/docs/3_0/dependencies.html
>>
> 
> I'm in the same boat.
> 
> This should be very simple, but I'm probably just missing something.  
> The above docs show all sorts of complex dependencies, but I'm  
> actually looking for something simple.
> 
> If a host can't be pinged, there is little point in attempting to  
> check disk space or anything else, so I'd like to disable all the  
> other checks when ping fails; however according to the link above,  
> this would require creating specific dependency definitions for each  
> host and all services, defining everything as a dependency of ping.
> 
> Is there some sort of rule or wild-card that would tell Nagios that  
> all network based checks should be disabled if the host can't be pinged?

Yes. That's exactly what I'm looking for.
Robi


> 
> Thanks!
> 
> Terry


------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
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