Page 1 of 1

Remove service from inherited host group

Posted: Thu Jan 19, 2012 3:00 pm
by bigd_1
I'm evaluating Nagios XI, and have two questions.

Everything I have done has been through the web interface and CCM. I created Hostgroups, one named Windows-Servers. I then added a bunch of services (using nrpe and checkcounter) to this .
When I add a server and add it to the Windows-Servers hostgroup, all the services are created = great.

One of the services to monitor is LogicalDisk(E:)\% Free Space. A couple of my servers don't have an E drive, so it shows up Critical. I can disable the notifications, acknowledge the problem, but in the Service Status still shows Critical.

1. Is there a way to remove this Service for only this server?

Similar to the above question.
I have a checkcounter for LogicalDisk(c:)\% Free Space. It is set to the Windows-Servers hostgroup, of which my servers belong.
2. Similar to the above question, can I modify this service, on one server to accept a different warning threshold?

Re: Remove service from inherited host group

Posted: Thu Jan 19, 2012 5:25 pm
by scottwilkerson
Is there a way to remove this Service for only this server?
Go to Configure -> CCM -> Services
click the light green trash can icon next to the service to get rid of
Apply Configuration
Done
Similar to the above question, can I modify this service, on one server to accept a different warning threshold?
Go to Configure -> CCM -> Services
click modify icon for the service you want to change
in the command view field you will see the $ARGSn$ passes after -c that one will set the critical level. After the -w will set the warning level

Re: Remove service from inherited host group

Posted: Fri Jan 20, 2012 9:39 am
by bigd_1
Go to Configure -> CCM -> Services
click the light green trash can icon next to the service to get rid of
Apply Configuration
Done
Go to Configure -> CCM -> Services
click modify icon for the service you want to change
in the command view field you will see the $ARGSn$ passes after -c that one will set the critical level. After the -w will set the warning level
There is only 1 service record for each service in that list (not multiple ones for all the hosts). The Service is attached to the Host Group, so won't deleting it there remove it from my host group, which will then remove it from all my servers? I only to remove 1 inherited service from the Host Group to 1 host assigned to the group.

Re: Remove service from inherited host group

Posted: Fri Jan 20, 2012 5:15 pm
by scottwilkerson
You will just be deleting the E:\ service for the host that doesn't have an E:\drive.

This doesn't delete the host, or other services in the host group.