Can't add contact groups to host groups

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
miroras
Posts: 7
Joined: Thu Nov 06, 2014 11:23 am

Can't add contact groups to host groups

Post by miroras »

Hi All.

running Core 4.0.8 on Ubuntu 14.04.

when trying to add a Contact_groups entry into a host_group object, m getting the following on validation:

Error: Invalid hostgroup object directive 'contact_groups'.

Any idea?
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Can't add contact groups to host groups

Post by Box293 »

contact_groups cannot be added to a Host Group. These are the only allowed directives:

http://nagios.sourceforge.net/docs/3_0/ ... #hostgroup

What is it that you are trying to achieve?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
miroras
Posts: 7
Joined: Thu Nov 06, 2014 11:23 am

Re: Can't add contact groups to host groups

Post by miroras »

Thanks for the replay!

well, we work in Scrum and i want a specific team to get alerts to all their reousrces which are gathered under a host_group.

right now my work around is to set a contact_group to each machine which look like a waste of time considering the fact that i have a "host_group" with all their machines...

thanks.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Can't add contact groups to host groups

Post by Box293 »

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked