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?
Remove service from inherited host group
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Remove service from inherited host group
Go to Configure -> CCM -> ServicesIs there a way to remove this Service for only this server?
click the light green trash can icon next to the service to get rid of
Apply Configuration
Done
Go to Configure -> CCM -> ServicesSimilar to the above question, can I modify this service, on one server to accept a different warning threshold?
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
Go to Configure -> CCM -> Services
click the light green trash can icon next to the service to get rid of
Apply Configuration
Done
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.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
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Remove service from inherited host group
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.
This doesn't delete the host, or other services in the host group.