Cannot set Same Host Dependencies With Servicegroups

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dariopalermo
Posts: 48
Joined: Fri Oct 31, 2014 1:13 pm

Cannot set Same Host Dependencies With Servicegroups

Post by dariopalermo »

On Nagios XI, I'm trying to get some basic dependencies. I'm checking ncpalistener via WMI and then I want to set all NCPA checks to be dependent on the service. I know I did it on Nagios Core some years ago and it was pretty straightforward...

https://assets.nagios.com/downloads/nag ... dependency

Same Host Dependencies With Servicegroups:
If you want to create service dependencies for all services that belong in one or more servicegroups on a service on the same host running the dependent service, leave the host_name and hostgroup_name directives empty. The example below assumes that hosts running services that belong in SERVICEGROUP1 and SERVICEGROUP2 have the following service associated with them: SERVICE1. In this example, all services that belong in GROUPSERVICE1 and SERVICEGROUP2 will be dependent on SERVICE1 on the same host running the dependent service.

define servicedependency{
service_description SERVICE1
dependent_servicegroup_name SERVICEGROUP1,SERVICEGROUP2
other dependency directives ...
}

However, Nagios XI will not let me save the config giving errors if I do not select an host (or hostgroup), a dependent host (or hostgroup) and even if I select the dependent service group and no dependent service!

How so?

bye, Dario
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cannot set Same Host Dependencies With Servicegroups

Post by cdienger »

Static configuration could be used to work around this. https://assets.nagios.com/downloads/nag ... ios-XI.pdf steps through setting up a static config.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
dariopalermo
Posts: 48
Joined: Fri Oct 31, 2014 1:13 pm

Re: Cannot set Same Host Dependencies With Servicegroups

Post by dariopalermo »

Yes, I know and already set that up to get my system working as required.

Do you realize, however, that we bought Nagiox XI to have ADDED value and not to have to resort to static configs for some basic functions, right?

Static configs are for Core, in XI they can easily create unpredicted results and are difficult to mantain. Very disappointed so far with XI, honestly.

Bye, Dario
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cannot set Same Host Dependencies With Servicegroups

Post by cdienger »

I'll file a feature request for this improvement with our dev team.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked