Adding Users via UI hard codes notification variables

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ShopTalk
Posts: 2
Joined: Thu Oct 06, 2011 1:11 pm
Location: minneapolis, minnesota
Contact:

Adding Users via UI hard codes notification variables

Post by ShopTalk »

Has anyone else noticed that adding a user via the admin panel, add-user function when you check the "add contact" checkbox the resulting contact has two hard coded host_notifications_enabled / service_notifications_enabled = 1 in the contact's misc settings tab? This is very annoying if you set the desired contacts in the Contact Template to have the UI overwrite the values. It also means that if you select the * notif enabled radio boxes on the common settings tab of the User Contact page it does nothing. You have to go to the misc settings tab, delete the two hard coded parameters, then either the template values will come in, or the manually selected ones will.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Adding Users via UI hard codes notification variables

Post by scottwilkerson »

I believe that may be a bug, we are going to do some testing to confirm this and will get back to this thread with our findings
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
david_sloboda
Posts: 33
Joined: Mon Apr 30, 2012 1:26 pm
Location: Burnaby, Canada

Re: Adding Users via UI hard codes notification variables

Post by david_sloboda »

As a data point, I noticed this behaviour.

This forum post helped me work around the issue.

My employer has a ticketing system that receives alerts via email.
I created a user with that contact email address,
and in the Core Config Manager "common settings" tab for that contact
edited the "Host options" to alert only on d (down).
(We only want to tell the ticketing system when a host goes down. We do not want a second ticket created when the host comes online).

No alerts were sent to the ticketing system at first.
The fix was to delete
host_notifications_enabled = 1
service_notifications_enabled = 1
in the contact's misc settings tab

David Sloboda
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Adding Users via UI hard codes notification variables

Post by slansing »

Thank you for the extra input david_sloboda.
Locked