Page 1 of 1

Adding Users via UI hard codes notification variables

Posted: Thu Sep 27, 2012 12:19 pm
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.

Re: Adding Users via UI hard codes notification variables

Posted: Thu Sep 27, 2012 3:15 pm
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

Re: Adding Users via UI hard codes notification variables

Posted: Fri Oct 05, 2012 12:24 pm
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

Re: Adding Users via UI hard codes notification variables

Posted: Fri Oct 05, 2012 2:34 pm
by slansing
Thank you for the extra input david_sloboda.