Enable a users global notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Enable a users global notifications

Post by HIINNS »

All,

I am trying to enable a users global notifications without having to logon as that user. Is there a way to do this?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Enable a users global notifications

Post by benjaminsmith »

Hi HIINNS,

You can do this directly in the database, but right now it's not possible to update user settings from the REST API.

Sample Commands:

Code: Select all

mysql -u root -pnagiosxi
use nagiosxi;
select user_id, username from xi_users;
UPDATE xi_usermeta SET keyvalue=1  WHERE user_id = 2 AND keyname='enable_notifications';
Let me know if that works for you.

--Benjamin
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!
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Enable a users global notifications

Post by HIINNS »

Benjamin, got it to work. Thanks for your help.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Enable a users global notifications

Post by benjaminsmith »

Hi,

Your welcome. We'll go ahead and close this out, but feel free to open another if you have any new questions.
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!
Locked