NagiosXI service dependency

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Satyam
Posts: 63
Joined: Mon Oct 24, 2011 8:14 am

NagiosXI service dependency

Post by Satyam »

I have defined a service dependency of a service of a host to the other service of the same host. What I want is like if the parent service goes critical, the dependent service should automatically go to critical without doing any check. Is it possible to force state change of the dependent service based on its parent service in nagios. What I have read from Nagios docs is that it is service dependency will only help in avoiding active checks and to suppress notifications for the dependent hosts/services.
Thanks,
Sattanathan.S
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI service dependency

Post by scottwilkerson »

Your understanding is correct, however there are plugins that can do what I think you are trying to accomplish

See:
http://nagiosplugins.org/man/check_cluster

http://support.nagios.com/forum/viewtop ... 558#p20482
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Satyam
Posts: 63
Joined: Mon Oct 24, 2011 8:14 am

Re: NagiosXI service dependency

Post by Satyam »

I have this requirement in two ways like:

(1) When a host goes down, all the services of this host should also show down in the UI. Ex: When a Router goes down, the status of all interfaces of the router should show down(Though this will happen automatically based on the checks because the host itself is down) and all the bandwidth services(but this is being taken from rrd files its not dependent on the host, so its showing OK and green in UI, but i want to show this service as critical as well, also i don't want to show it critical based on critical threshold setting 0, because some times traffic can be very less and almost 0 on some interfaces so at that time it will show critical) of the interfaces should also show critical in UI.

(2 ) When a parent service of a host goes down, the dependent services of the same host should also show down in UI. Ex: When a router interface has gone down, there is no point of showing bandwidth service of the same port as OK and the respective value which will be 0 obviously. So I want it to show Critical as well and same as above without setting any critical threshold level.

Please tell me the way if check_cluster plugin can do these things.

Thanks,
Manish Kumar
Open Source Tools Team, IMS, Mahindra Satyam
Bangalore, India
Thanks,
Sattanathan.S
Satyam
Posts: 63
Joined: Mon Oct 24, 2011 8:14 am

Re: NagiosXI service dependency

Post by Satyam »

Is there any idea or approach on the above query. I did a bit research and still wondering if the above problem can be solved using BPI (Business Process Monitoring) component of NagiosXI. Please let me know.
Thanks,
Sattanathan.S
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: NagiosXI service dependency

Post by scottwilkerson »

The BPI addon does let you group services however it isn't going to change the underlying service's state.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked