Service Depedency UI Bug/ Question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Service Depedency UI Bug/ Question

Post by rajasegar »

Nagios XI 2012R2.9
RHEL 6.5 x64
Manual Install
Firefox 23

Service Dependency UI has a bug. Inherit Parents does not save.
Tick off the inherit parent. Save. Open the dependency again. It will still show Inherit Parents checked.
Inherit.png
I am trying to get a Service to be checked when the dependent service is down.
However it still gets executed. Please advice

In the example below, I only want to check Payment Gateway DR when the Production interface is down.

define servicedependency {
host_name myclient
service_description Interface: PaymentGateway DR - Port 1234
dependent_host_name myclient
dependent_service_description Interface: PaymentGateway - Port 1234
dependency_period 24x7
inherits_parent 1 # unable to turn off via gui
notification_failure_options o
execution_failure_options o
}

Thanks
You do not have the required permissions to view the files attached to this post.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Service Depedency UI Bug/ Question

Post by lmiltchev »

Confirmed to be a bug. I filed an internal bug report (TASK ID 3002). Thanks for bringing our attention to this!
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Service Depedency UI Bug/ Question

Post by rajasegar »

lmiltchev wrote:Confirmed to be a bug. I filed an internal bug report (TASK ID 3002). Thanks for bringing our attention to this!

Ok. Can someone help me with the second question please. Tx.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Service Depedency UI Bug/ Question

Post by lmiltchev »

I may be wrong, but it seems that you have "service_description" and "dependent_service_description" reversed. The "service_description" is used to identify the description of the service that is being depended upon (also referred to as the master service). If the service you are depended on is "Interface: PaymentGateway - Port 1234", then you should have:

Code: Select all

...
service_description Interface: PaymentGateway - Port 1234
dependent_service_description PaymentGateway DR - Port 1234
...
You can disable "inherit_parent" option in the Legacy CCM (as a workaround, while the bug in the CCM is being fixed):

Configure->Legacy CCM->Service Dependencies->Modify

clear the "Inherit parents" check-box, "Save", "Apply Configuration".
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Service Depedency UI Bug/ Question

Post by rajasegar »

lmiltchev wrote:I may be wrong, but it seems that you have "service_description" and "dependent_service_description" reversed. The "service_description" is used to identify the description of the service that is being depended upon (also referred to as the master service). If the service you are depended on is "Interface: PaymentGateway - Port 1234", then you should have:

Code: Select all

...
service_description Interface: PaymentGateway - Port 1234
dependent_service_description PaymentGateway DR - Port 1234
...
Are you sure? Can someone confirm this? The wordings are so misleading.
DR supposed to be dependent on Prod and not the other way around.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Service Depedency UI Bug/ Question

Post by lmiltchev »

Here is a quotes from the official documentation:
Servicedependency - service description

This directive is used to identify the description of the service that is being depended upon (also referred to as the master service).

Parameter name: service_description
Required: yes
Servicedependency - dependent service description

This directive is used to identify the description of the dependent service.

Parameter name: dependent_service_description
Required: yes
So you are saying "Interface: PaymentGateway DR - Port 1234" is your "master" service?

Were you able to disable "inherit_parent" option via the Legacy CCM?
Be sure to check out our Knowledgebase for helpful articles and solutions!
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Service Depedency UI Bug/ Question

Post by rajasegar »

lmiltchev wrote:Here is a quotes from the official documentation:
Servicedependency - service description

This directive is used to identify the description of the service that is being depended upon (also referred to as the master service).

Parameter name: service_description
Required: yes
Servicedependency - dependent service description

This directive is used to identify the description of the dependent service.

Parameter name: dependent_service_description
Required: yes
So you are saying "Interface: PaymentGateway DR - Port 1234" is your "master" service?

Were you able to disable "inherit_parent" option via the Legacy CCM?
I have not tried the legacy CCM.
However I have changed the order as advised and it seems to be fine.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Service Depedency UI Bug/ Question

Post by abrist »

I would suggest watching the next few XI release notes for a potential fix for this bug.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Service Depedency UI Bug/ Question

Post by rajasegar »

Please close this case. Confirmed working.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
Locked