Page 2 of 2
Re: Contact Groups & Contact Templates
Posted: Mon Mar 25, 2013 2:58 pm
by lmiltchev
Have you tried: Admin->Manage Users->Add New User->...Create as Monitoring Contact: "checked". You would have in the contacts.cfg:
Code: Select all
...
host_notifications_enabled 1
service_notifications_enabled 1
use xi_contact_generic
...
Re: Contact Groups & Contact Templates
Posted: Mon Mar 25, 2013 3:01 pm
by asmgiadmin
lmiltchev wrote:Have you tried: Admin->Manage Users->Add New User->...Create as Monitoring Contact: "checked". You would have in the contacts.cfg:
Code: Select all
...
host_notifications_enabled 1
service_notifications_enabled 1
use xi_contact_generic
...
Yes, this is exactly the problem.
I cannot remove the above from contact.cfg. Current alert settings for contact are set to skip, but the above still remains. I've also tried setting to null or even off, but no difference.
I assume these settings are propogating from XI? If assumption correct, how can I:
Update all existing contact.cfg file containing host / service noticiations
Prevent this from happening again in the future
Re: Contact Groups & Contact Templates
Posted: Mon Mar 25, 2013 3:46 pm
by slansing
You can disable notifications as a whole across multiple hosts/services with the bulk modification tool:
CCM > Tools > Bulk Modifications Tool.
This tool requires Nagios XI 2012 Enterprise Edition to be used.
Re: Contact Groups & Contact Templates
Posted: Mon Mar 25, 2013 4:17 pm
by asmgiadmin
slansing wrote:You can disable notifications as a whole across multiple hosts/services with the bulk modification tool:
CCM > Tools > Bulk Modifications Tool.
This tool requires Nagios XI 2012 Enterprise Edition to be used.
Thanks, but not looking to disable - looking to remove from contact.cfg completely.
Re: Contact Groups & Contact Templates
Posted: Mon Mar 25, 2013 4:58 pm
by scottwilkerson
Then you would go to CCM -> Contacts -> Modify
Re: Contact Groups & Contact Templates
Posted: Mon Mar 25, 2013 6:31 pm
by asmgiadmin
scottwilkerson wrote:Then you would go to CCM -> Contacts -> Modify
Scott - this is my issue. Modifying via CCM does not remove parameters.
Current contact.cfg
Code: Select all
define contact {
contact_name username
alias User Name
host_notification_period username_notification_times
service_notification_period username_notification_times
host_notification_options d,u,r,f,s,
service_notification_options w,u,c,r,f,s,
email user@domain
host_notifications_enabled 1
service_notifications_enabled 1
use xi_contact_generic
}
What I want i need contact.cfg to look like:
Code: Select all
define contact {
contact_name username
alias User Name
email user@domain
use xi_contact_generic
}
How can I prevent XI from adding all of the un-necessary information?
Re: Contact Groups & Contact Templates
Posted: Mon Mar 25, 2013 6:39 pm
by asmgiadmin
I'm starting a new thread since this thread has not been very productive.
Re: Contact Groups & Contact Templates
Posted: Tue Mar 26, 2013 2:48 pm
by slansing
New thread located at:
http://support.nagios.com/forum/viewtop ... =16&t=9859
Though it will likely pick up at the same point this thread is at.