Page 1 of 1
Service Dependencies config screen
Posted: Mon Sep 20, 2010 1:11 pm
by sal@coned
When I try to configure "Services dependencies" the web page does not display any services to choose from.
Are there pre-requisites before attempting to configure the dependencies.
Sal
Re: Service Dependencies config screen
Posted: Mon Sep 20, 2010 3:21 pm
by mmestnik
This is known not to work in any version of IE.
If you are not using IE, could you please provide more information. Last time I worked with this was in the Core Config Manager, is this still the case?
Re: Service Dependencies config screen
Posted: Mon Sep 20, 2010 3:57 pm
by mguthrie
You have to first select a host, which will then populate the list of services. Note the (*) required fields. Either hosts or hostgroups must be selected since their services are dependent. (The reason it doesn't automatically have all of the services is because some users have thousands of services, many of which have repeated names.)
So just to clarify, go to CCM->Service Dependencies->Add New, then start selecting either hosts or hostgroups to populate the services list.
Re: Service Dependencies config screen
Posted: Fri Sep 24, 2010 11:43 am
by jtata
I've found another issue with this screen, the "services and "dependent services" boxes only populate explicitly defined services, not ones that are inherited through either a template or defined on a hostgroup.
Example, I have several dozen websites running on a my production web server. Instead of defining separate HTTP response, web content, DNS and SSL cert checks for each of these I have a single service for each that checks the entire host group. Much easier to manage across a ton of hosts. I do the same thing with my servers: all windows boxes get C: disk space, web servers get IIS, AD gets DNS and NTDS etc.
However NONE of these services will populate in the dependencies! The only ones that show are the DNS IP resolutions for my websites and a couple of ESX services that I have to define explicitly for single hosts because they have unique arguments like the IP address.
I know this isn't really a Nagios XI issue and is probably a bug in NagiosQL, but its still pretty crippling. One of Nagios' biggest strength is the ability to apply the same check across many systems through hostgroups and templates. It would be nice if someone had a workaround that allowed these checks to still be used in dependencies.
Re: Service Dependencies config screen
Posted: Fri Sep 24, 2010 12:11 pm
by mguthrie
Yeah, I think I see what you mean. Bear with me as I don't set up large amounts of dependencies in a testing environment, but this may be a limitation in NagiosQL. It doesn't seem to want to fully populate the services list when selecting hostgroups. I'll do some checking though and see if there's something I'm missing...
Re: Service Dependencies config screen
Posted: Fri Sep 24, 2010 1:35 pm
by admin
There are a few advanced things like this that NagiosQL doesn't support because its too difficult to determine what can be displayed (e.g. NagiosQL doesn't know how things will look once Nagios Core "expands" services/templates/etc).
You may be able to create a service dependency definition in a standalone config file and either 1) see if NagiosQL can import it properly or 2) keep that config file in the /usr/local/nagios/etc/static directory.