Adding Contact groups to Host Groups

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
story
Posts: 9
Joined: Thu May 02, 2024 8:06 am

Adding Contact groups to Host Groups

Post 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
User avatar
lgute
Posts: 419
Joined: Mon Apr 06, 2020 2:49 pm

Re: Adding Contact groups to Host Groups

Post 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.
Please let us know if you have any other questions or concerns.

-Laura
Post Reply