Services List Bug

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

Services List Bug

Post by rajasegar »

XI 2014R1.4
Firefox 31.0

Screen Service Dependencies

1) Add New
2) Clicks on Manage Services
26-08-2014 07-21-09 PM.png
26-08-2014 07-14-17 PM.png
The service list is missing hostname in front of the services which is assigned to hostgroup.
How am I to know which host is the service from since there are duplicates?
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: Services List Bug

Post by lmiltchev »

This is a default behavior as you are implementing "time-saving tricks for object definitions". The service is tied up to many hosts (members of the hostgroup), so all instances of the service will be identical. I you created separate configs (added the service to different hosts), you would see the "expected" output in the 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: Services List Bug

Post by rajasegar »

lmiltchev wrote:This is a default behavior as you are implementing "time-saving tricks for object definitions". The service is tied up to many hosts (members of the hostgroup), so all instances of the service will be identical. I you created separate configs (added the service to different hosts), you would see the "expected" output in the CCM.
So how do I know which one am I selecting?
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: Services List Bug

Post by abrist »

rajasegar wrote:So how do I know which one am I selecting?
This is a good point, I am going to open a feature request to see if we can show the hostgroup before these service objects. I don't know if that is a relation that can easily be queried for though. There are some other issues with doing that though - what do you think we should do in the case of multiple hostgroups having the same service applied?

Our usual suggestion for this issue is to name your "generic" services differently, so that you don't have multiple hostgroup inherited services with the same names.
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: Services List Bug

Post by rajasegar »

abrist wrote:
rajasegar wrote:So how do I know which one am I selecting?
This is a good point, I am going to open a feature request to see if we can show the hostgroup before these service objects. I don't know if that is a relation that can easily be queried for though. There are some other issues with doing that though - what do you think we should do in the case of multiple hostgroups having the same service applied?

Our usual suggestion for this issue is to name your "generic" services differently, so that you don't have multiple hostgroup inherited services with the same names.
Thanks.

We name the services the same because it is the same checks. Some have different intervals, notifications & thresholds.
I dont want to name them differently to facilitate future reporting.
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: Services List Bug

Post by abrist »

Well, I don't think this feature request will be filled in the short term, so you may want to rename some of them to reflect which hostgroup they are attached to.
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.
Locked