xi_contactgroup_all Question

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
cstuart
Posts: 37
Joined: Thu May 02, 2019 8:18 am

xi_contactgroup_all Question

Post by cstuart »

I'm creating a contact template to disable notifications for users. Initially, I want to apply this to all users and back it off as needed. Within "Manage Contact Groups" I have the options of xi_contactgroup_all, admins, and *. The xi_contactgroup_all does not have any users associated with it. As a built-in contact group, does it actually contain all users even though there are none listed in that contact group within "Manage Contacts"?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: xi_contactgroup_all Question

Post by benjaminsmith »

Hi @cstuart,

The xi_contactgroup_all will contain all the contacts. If you want to verify this, open the following file in a text editor:

Code: Select all

/usr/local/nagios/var/objects.cache
and then search for xi_contactgroup_all, and you'll find a listing of all the members inside the configuration file. The CCM doesn't query the list.

Code: Select all

define contactgroup {
	contactgroup_name	xi_contactgroup_all
	alias	All Contacts
	members	nagiosadmin,fletch
	}
I hope that answers your question. Let me know if you need clarification on anything.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
cstuart
Posts: 37
Joined: Thu May 02, 2019 8:18 am

Re: xi_contactgroup_all Question

Post by cstuart »

Thanks! The only member listed is nagiosadmin. Should the other contacts be listed in objects.cache or are they included by some magic under the hood?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: xi_contactgroup_all Question

Post by benjaminsmith »

Hi,

One clarification, it will include all of the xi user accounts, but any contacts created in the CCM (Nagios Core Contacts) would not be added to this list.

Nagios xi users accounts and Core notification contacts differ in functionally, this is covered in the following guide.

Understanding Users and Contacts

If you want I can review the configurations for you in the system profile to see how everything is setup.

To send us your system profile.
Login to the Nagios xi GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!