Page 1 of 1
Service dependency feature
Posted: Thu Sep 13, 2012 12:14 am
by Mitchell
I read couple of topics and realized that many people have tried finding the answer for this. And I believe many customers would appreciate this feature.
If I am not wrong as of today, service check for a host does not depend on host check state. Few would argue that it would be a good idea and other would think opposite. I agree with both sides depending on situation.
I think it would help if a feature/option is added which allows to enable/disable this dependency on per service configuration basis instead of a global rule. What do you guys think?
Another hot problem is setting service dependency on other service. Current way of setting service dependency is not very helpful because.
1. One has to go out on another screen to be able to set it.
2. It is cumbersome to configure and maintain service dependencies.
I tried setting the dependency using the hostgroup used for service configuration. it helped a bit but still have not made it simple to use.
It would help, If this service dependency configuration could be brought under the service configuration itself. In this case one would be able to use template or set it manually through wizard/CCM.
Regards
Ashish
Re: Service dependency feature
Posted: Thu Sep 13, 2012 10:00 am
by scottwilkerson
Mitchell wrote:If I am not wrong as of today, service check for a host does not depend on host check state.
You are wrong here, they do depend on host state.
Mitchell wrote:
Another hot problem is setting service dependency on other service. Current way of setting service dependency is not very helpful because.
1. One has to go out on another screen to be able to set it.
2. It is cumbersome to configure and maintain service dependencies.
I agree here. Escalations were in the same boat, and due to requests we have created an Escalation Wizard in 2012. You can feel free to post a feature request for a similar dependencies wizard to out tracker.
http://tracker.nagios.com
Re: Service dependency feature
Posted: Fri Sep 14, 2012 1:07 am
by Mitchell
Mitchell wrote:If I am not wrong as of today, service check for a host does not depend on host check state.
You are wrong here, they do depend on host state.
That is great, could you please help me understand how do I configure to disable service checks automatically when the host check is in non-OK or critical state?
I know that it gets into "handled" automatically but not sure how to disable those altogether.
Mitchell wrote:Another hot problem is setting service dependency on other service. Current way of setting service dependency is not very helpful because.
1. One has to go out on another screen to be able to set it.
2. It is cumbersome to configure and maintain service dependencies.
I agree here. Escalations were in the same boat, and due to requests we have created an Escalation Wizard in 2012. You can feel free to post a feature request for a similar dependencies wizard to out tracker.
http://tracker.nagios.com
I have Nagios 2012 Beta installed (havent upgraded to RC3 yet), I could not locate the escalation wizard. could you please let me know the full name of the escalation wizard or how to access it?
Thanks
Ashish
Re: Service dependency feature
Posted: Fri Sep 14, 2012 1:32 am
by Mitchell
I was curious so read the dependency documentation here
http://nagios.sourceforge.net/docs/3_0/ ... ncies.html
However I did not find the detailed Execution Dependencies here
http://nagios.sourceforge.net/docs/3_0/ ... uling.html
as explained under this paragraph. Do we have this documentation somewhere else?
Execution Dependencies
Execution dependencies are used to restrict when active checks of a service can be performed. Passive checks are not restricted by execution dependencies.
If all of the execution dependency tests for the service passed, Nagios will execute the check of the service as it normally would. If even just one of the execution dependencies for a service fails, Nagios will temporarily prevent the execution of checks for that (dependent) service. At some point in the future the execution dependency tests for the service may all pass. If this happens, Nagios will start checking the service again as it normally would. More information on the check scheduling logic can be found here.
Thanks
Ashish
Re: Service dependency feature
Posted: Fri Sep 14, 2012 8:53 am
by scottwilkerson
Mitchell wrote:That is great, could you please help me understand how do I configure to disable service checks automatically when the host check is in non-OK or critical state?
I know that it gets into "handled" automatically but not sure how to disable those altogether.
While the check aren't "disabled per-se, notifications are suppressed by default for services if the host is down.
Mitchell wrote:I have Nagios 2012 Beta installed (havent upgraded to RC3 yet), I could not locate the escalation wizard. could you please let me know the full name of the escalation wizard or how to access it?
It is in CCM -> Tools -> Escalation Wizard
Yep, it looks like this must have gotten looked over and not written.. With Nagios 4 entering beta I would guess that this doc may never get completed...
Re: Service dependency feature
Posted: Thu Sep 12, 2013 7:32 pm
by Mitchell
I was wondering if someone has any update for us. We and some other folks have been waiting for these feature for a while now.
Here is the feature request I created some time ago but have not seen any update.
http://tracker.nagios.com/view.php?id=297
I am hoping that we are being heard. I know service dependency can solve this but that is too complex to set and makes XI nightmare with all hostgroup based service checks. This one features makes we worry about future of XI in our organization.
Regards
Ashish
Re: Service dependency feature
Posted: Fri Sep 13, 2013 12:57 pm
by scottwilkerson
We hear you, the problem is in the complexity of the possibilities dependencies.
We have yet to come up with a way to make a wizard for dependencies that would be easier than using the current form for service dependencies in the Core Config Manager.
If you have suggestions on how you would like to see it created, we would love to hear it.
Re: Service dependency feature
Posted: Fri Sep 13, 2013 6:14 pm
by Mitchell
Thanks for your response. I believe the core needs to be patched for service execution dependancy on host status based on service configuration (directive/flag which should be inheritable).
Then for XI, if service and service template configuration page in CCM can have option to set/unset this flag would fulfill our needs. We will set this option in service template and inheritance would to the trick.
Off course, I am not aware of the complexities and performance imact this can create on nagios core.
Regards
Ashish
Re: Service dependency feature
Posted: Sat Sep 14, 2013 3:10 pm
by scottwilkerson
Changes to Core need to be widely accepted and well thought out, as they could have affect on well over a million installations of Nagios. I know you previously had posted a request on our XI tracker, but this would have to be accepted into Core before we could proceed.
You can feel free to propose an addition to Core on the Core tracker, if other agree this should be added, I'm sure they will pile on in the comments and raise the likelyhood of it being implemented.
http://tracker.nagios.org/
Re: Service dependency feature
Posted: Mon Sep 16, 2013 2:56 pm
by Mitchell
Thank you Scott. I have added to tracker site for core.