Hello,
I would like to know if I can configure Nagios to do a double servicedependency: in one side, some services are dependent of a master service (for example, if SSH is up, then nagios must check 3 other services like NIS-Client, NFS-Client and iptables...); in the other side, if master service (SSH) is down, nagios should check other services (http, https, etc).
I have configure my nagios for servicedependency but I have only get good results when "master" service is up. Then, dependend services are checked. However, if "master" services is down, I don't know how configure nagios (and servicedependency) to check others services.
Thanks.
Service dependency
Re: Service dependency
May I ask you to be a little more specific? I am not sure I understand your use case. Just to clarify, do you mean that:
1. When <process> is up, monitor these other <3 processes>
2. When <process> is down, monitor these other <2 processes> but NOT the original <3 processes>
Is that correct? Or would you like to monitor the <2 processes> AND <3 processes>.
1. When <process> is up, monitor these other <3 processes>
2. When <process> is down, monitor these other <2 processes> but NOT the original <3 processes>
Is that correct? Or would you like to monitor the <2 processes> AND <3 processes>.