Page 1 of 1
xi_contactgroup_all Question
Posted: Thu Aug 27, 2020 1:24 pm
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"?
Re: xi_contactgroup_all Question
Posted: Fri Aug 28, 2020 1:32 pm
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.
Re: xi_contactgroup_all Question
Posted: Fri Aug 28, 2020 2:01 pm
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?
Re: xi_contactgroup_all Question
Posted: Mon Aug 31, 2020 10:41 am
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.