Adding Contact groups to Host Groups
Posted: Fri Jul 25, 2025 7:09 am
I try to make my nagios setup as easy to manage as possible. I have a large number of devices to contend with and many different organizations to alert.
Normally when I need to setup a group of checks, I add those checks to Host Groups, then all I need to do is add the system to the host group and it gets all those checks. This saves me from having edit each host every time something needs to change..
anyway, id like to do the same thing with contact groups. I would like to add contact groups to a host group.
Example:
Lets say ive got a bunch of Dell iDrac interfaces im doing SNMP Hardware checks on..
- I configure each service with SNMP to hit specific OIDS (lets say PS Health)
- I add the "iDrac" host group to the service Definition
Now whenever I add a new system to the idrac group it gets the same checks..
what I want to do now is to add a host group to a contact group so that all contacts in that host group get contacted when there is an issue.
Example:
Our Data Center hardware Team contacts would be added to the contact group which is attached to the host group iDrac.
that make sense?
-- Chris
Normally when I need to setup a group of checks, I add those checks to Host Groups, then all I need to do is add the system to the host group and it gets all those checks. This saves me from having edit each host every time something needs to change..
anyway, id like to do the same thing with contact groups. I would like to add contact groups to a host group.
Example:
Lets say ive got a bunch of Dell iDrac interfaces im doing SNMP Hardware checks on..
- I configure each service with SNMP to hit specific OIDS (lets say PS Health)
- I add the "iDrac" host group to the service Definition
Now whenever I add a new system to the idrac group it gets the same checks..
what I want to do now is to add a host group to a contact group so that all contacts in that host group get contacted when there is an issue.
Example:
Our Data Center hardware Team contacts would be added to the contact group which is attached to the host group iDrac.
that make sense?
-- Chris