unable to delete service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
vnc786
Posts: 68
Joined: Thu Aug 29, 2013 8:45 am

Re: unable to delete service

Post by vnc786 »

Have you given any thought to upgrading Nagios XI as I suggested in my previous post?
not yet, sure i will plan it and do ..

but i don't know why i am thinking that this services is added in said manner if that will will be the case i am trying to figure out !!

also can you point to some kind of document for "single service for multiple hosts" ??
vnc786
Posts: 68
Joined: Thu Aug 29, 2013 8:45 am

Re: unable to delete service

Post by vnc786 »

hello all !!
i know this thread is getting bigger but this is i think last output/information from me !! thanks for reading

As i said there are 14 services showing in GUI in which two critical state but if you search with that name in CCM you will get 12 service name for that host

so i copied host1 and its all services and named it host1test REMEMBER there were only 12 services when i copied but again its is showing 14 service in GUI with 2 critical state i dont where it has came from ..

ANY :idea:
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: unable to delete service

Post by scottwilkerson »

In the CCM, do any of these services have a hostgroup assigned?

If you add a hostgroup to a service definition, it will add that service to every host in the hostgroup...
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
vnc786
Posts: 68
Joined: Thu Aug 29, 2013 8:45 am

Re: unable to delete service

Post by vnc786 »

scottwilkerson wrote:In the CCM, do any of these services have a hostgroup assigned?

If you add a hostgroup to a service definition, it will add that service to every host in the hostgroup...
thanks for reply

host{1,2,3,4} are in 3 service group (name: s1,s2,s3) and 1 hostgroup (name: h1) in GUI

host{1,2,3} has no hostgroups(name: h1) in services file but they have service group (name: s1,s2,s3) common where as only host4 has hostgroup (name: h1)
talking about host1, in services file it has no host groups but it has services groups as above mention
just a recap..host{3,4} has same process showing okay whereas for host{1,2} it is showing no process found still

So if i want to remove that process from host{1,2} what should i do ?

As per understanding so if any new services is added to host3 than that services will shown in host{2,3,4}. Am i right ?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: unable to delete service

Post by lmiltchev »

If you add a service to a hostgroup, this service will be added to all of the members of this hostgroup (and visible in the web interface). For example, I created a "Dummy Host" with one "Dummy Service". If I search the CCM for "dummy service" I can find only one service...
dummy1.PNG
However, I can see 6 "Dummy Service" checks in the GUI, since I added the service to the "linux-servers" hostgroup. Now, the "Dummy Service" is added to all of the members of the "linux-servers" hostgroup...
dummy2.PNG
If you want your service not to be shown in the GUI, you will have to remove it from the hostgroup. I hope this makes sense.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked