All,
I am trying to enable a users global notifications without having to logon as that user. Is there a way to do this?
Enable a users global notifications
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Enable a users global notifications
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:
Let me know if that works for you.
--Benjamin
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';
--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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Enable a users global notifications
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
Hi,
Your welcome. We'll go ahead and close this out, but feel free to open another if you have any new questions.
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!