Page 1 of 1

ERROR: User has (global) notifications disabled!

Posted: Wed Nov 18, 2020 6:09 am
by amane
Getting "ERROR: User has (global) notifications disabled!" in eventman.log for few events.


[hostaddress] => 10.18.100.1
[hostalias] => isp1.1177.lowes.com
[hostdisplayname] => isp1.1177.lowes.com
[service] => Memory: Swap Percent Utilized: Swap Memory Utilization
[hoststate] => UP
[hoststateid] => 0
[servicestate] => WARNING
[servicestateid] => 1
[lastservicestate] => WARNING
[lastservicestateid] => 1
[servicestatetype] => HARD
[currentattempt] => 6
[maxattempts] => 6
[serviceeventid] => 66937
[serviceproblemid] => 18067
[serviceoutput] => WARNING - System Swap is at 78%
[longserviceoutput] =>
[datetime] => Wed Nov 18 04:30:28 EST 2020
)

[logging_enabled] => 1
)
Got XI user id for contact 'nagiosadmin': 1
ERROR: User has (global) notifications disabled!
............
PROCESSED 2 EVENTS
....................
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS
...................
PROCESSED 0 EVENTS
....................
PROCESSED 0 EVENTS
........PROCESS EVENT: ID=2898932, SOURCE=2, TYPE=2, TIME=2020-11-18 04:35:25

Re: ERROR: User has (global) notifications disabled!

Posted: Wed Nov 18, 2020 5:25 pm
by mbellerue
This is expected if the account in question, in this case nagiosadmin, does not have notifications enabled. If you login as nagiosadmin, then click on the nagiosadmin name in the upper right corner, then select Notification Preferences, there will be an Enable Notifications check box. If it's unchecked, then that's why you're seeing these messages. Well, that, and some host or service check(s) has nagiosadmin listed as a contact.