Page 1 of 1
How to built service depencencies in Nagios Core
Posted: Tue Feb 26, 2013 2:55 am
by lafargeuser
Below is my requirement.
I have switch, which is being monitored by Nagios core & I have 10 servers associates with that Hosts.
So if problem in N/W or switch is not accessible, all the servers which are associates with that Switch will shown down. In this case I should reach to Root Cause.
Re: How to built service depencencies in Nagios Core
Posted: Tue Feb 26, 2013 11:15 am
by sreinhardt
Could you provide more detail please? I am gathering that you have a switch, and would like the host connected to it to also show as down when it has issues. However you cannot make hosts dependent on services or vice versa. You can however have hosts dependent, and service checks should not alert if hosts are down. Finally, I recall another thread, where you are using XI not core, have you changed to core, or should I move this to the XI forum?
Re: How to built service depencencies in Nagios Core
Posted: Tue Feb 26, 2013 11:43 am
by abrist
The following core document covering host and service dependencies is probably worth a read if you have not done so already:
http://nagios.sourceforge.net/docs/3_0/ ... ncies.html
Re: How to built service depencencies in Nagios Core
Posted: Wed Feb 27, 2013 7:21 am
by lafargeuser
Below example might help you to understand my exact requirement.
I would need to find the Root cause of the problem. E.g. if my switch goes down, obvious server which are connected to that switch will not be accessible.
So I want to build relationship such as parent & child. Here Switch will act as Parent & server as child.
If switch goes down rather working on server, I will check switch existence first.
Re: How to built service depencencies in Nagios Core
Posted: Wed Feb 27, 2013 12:02 pm
by sreinhardt
As abrist mentioned, the service dependencies documentation is very good to review, you should also look at
Determining Status and Reachability of Network Hosts This should describe exactly what you are looking to implement.