Services dependancy

Andreas Ericsson ae at op5.se
Wed Jan 19 18:14:49 CET 2005


Bergström Sebastian wrote:
> Hi!
> 
> I think Vincent Alloos question is interesting... Can you set
> dependencies between service checks? Like for instance, when using
> check_nt - can you define that if a service check doesn't get through
> for any reason the next service check on the host will not be run?
> 

Yes you can, but you'd have to type more than you want, and the result 
wouldn't most likely be what you want. Instead, you would want to 
disable notifications for the other services until any of them return 
OK. This would be easier to implement if the config could handle 
something like classes, where one service is 'master' of other services 
(it can be done with servicedependencies too, but not in a very 
intuitive way).

> 
> Best regards, Sebastian Bergstroem
> 
> -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se]
>  Sent: den 19 januari 2005 16:19 To:
> nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users]
> Services dependancy
> 
> Alloo, Vincent wrote:
> 
>> Hello, We are using Nagios 1.2 to monitor thousand of servers for
>> few services. Very helpful tool !! Here is my question: - for
>> server1..150 (hostgroup1), I have 3 services: ping, service1, 
>> service2 How can I setup Nagios to check service1 and service2 only
>> if ping is OK?
> 
> 
> Assuming you're using ping to check if the host is alive, you don't
> have to do anything at all. They will all depend on the host-check
> returning OK, or notifications will be supressed.
> 
> 
>> There is no dependences between hosts.
>> 
>> Thanks for your help?
>> 
>> Vincent Alloo TI France Design Systems Operations Manager Europe
>> and Middle East IT Services Texas Instruments France
>> 
>> E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13
>> 00 80
>> 
>> 
>> 
>> 
>> ------------------------------------------------------- The SF.Net
>> email is sponsored by: Beat the post-holiday blues Get a FREE
>> limited edition SourceForge.net t-shirt from ThinkGeek. It's fun
>> and FREE -- well, almost....http://www.thinkgeek.com/sfshirt 
>> _______________________________________________ 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
>> 
> 
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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