Page 3 of 3

Re: unable to delete service

Posted: Wed Nov 27, 2013 4:43 pm
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" ??

Re: unable to delete service

Posted: Sun Dec 01, 2013 1:56 pm
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:

Re: unable to delete service

Posted: Mon Dec 02, 2013 11:22 am
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...

Re: unable to delete service

Posted: Tue Dec 03, 2013 3:24 pm
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 ?

Re: unable to delete service

Posted: Tue Dec 03, 2013 6:02 pm
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.