Service depedency problem

Andreas Ericsson ae at op5.se
Tue Dec 19 10:13:04 CET 2006


MiikaT wrote:
> Quoting Andreas Ericsson <ae at op5.se>:
> 
>> If you have "u" in your host_notification_options it will tell you when 
>> hosts are UNREACHABLE (as in, the parent host is down as well as the 
>> host in question). Using dependencies for this sort of thing is just 
>> wrong. Make your parent setup work instead.
> 
> In hosts setup for notification_options I use d,u,r, and as I said the
> if hosts are down, the setup is fine. But if let's say ping reaches critical, 
> I will get alert for all devices behind the parent.

Because you have 'u' (notify when unreachable) in your 
host_notification_options.

> Do you suggest not using 
> dependencies.cfg at all, and should services not get alerted, if upper 
> level/parent host service is is critical?
> 

I suggest not using dependencies at all, but instead using the "parents" 
directive and removing 'u' from your host_notification_options. I also 
suggest reading the documentation regarding parents, 
host_notification_options and notification logic.

Dependencies can be a fine thing for services. It's almost always the 
wrong thing to use for hosts.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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