Page 1 of 1

Adding Contact groups to Host Groups

Posted: Fri Jul 25, 2025 7:09 am
by story
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

Re: Adding Contact groups to Host Groups

Posted: Mon Aug 11, 2025 4:32 pm
by lgute
Hi @story,

Thanks for reaching out.

Contact groups can only be applied to individual hosts or services, not to host groups. To assign contact group(s) to hosts within specific host group(s), you have a couple of options under the Core Configuration Manager section of XI:
  1. Under Templates choose Host Templates to create a host template with the desired contact group(s) and the specific host group(s). This template can then be applied to all hosts within the target host group. By doing so, the contact group defined within the template will be inherited by those hosts, ensuring they receive alerts.
  2. Under Tools, choose Bulk Modifications Tool to add a contact group to multiple hosts at once, which is particularly useful when applying a contact group to all hosts within a host group.