RESOLVED Why notifications not happening
Posted: Thu Aug 15, 2024 10:56 am
I am not getting notifications when I should be. Tailing /usr/local/nagiosxi/var/eventman.log I am seeing a curious entry: ERROR: Could not find user_id for contact '$'. Full context, below. I am and explicit contact for this service, as well as being in the admin group, which is also a contact. I do have an email address configured in my user profile. So I don't understand where the "$" is coming from, instead of my accountid and my email address. Notification is on for Critical and Recovery for this service. When I run the report for all notifications, although it's going into alert, this doesn't show up in the notifications report.
(
[notification-type] => service
[contact] => $
[contactemail] => $
[type] =>
[escalated] =>
[author] =>
[comments] =>
[host] => atl1-1-01-002-11
[hostaddress] => 172.27.144.254
[hostalias] => atl1-1-01-002-11
[hostdisplayname] => 172.27.144.254
[service] => nrpe-rsyslogd
[hoststate] => UP
[hoststateid] => 0
[servicestate] => CRITICAL
[servicestateid] => 2
[lastservicestate] => CRITICAL
[lastservicestateid] => 2
[servicestatetype] => SOFT
[currentattempt] => 2
[maxattempts] => 5
[serviceeventid] => 997886
[serviceproblemid] => 491989
[serviceoutput] => PROCS CRITICAL: 0 processes with command name rsyslogd, UID = 0 (root)
[longserviceoutput] =>
[datetime] => Thu Aug 15 11:53:58 EDT 2024
)
[logging_enabled] => 1
)
ERROR: Could not find user_id for contact '$'
(
[notification-type] => service
[contact] => $
[contactemail] => $
[type] =>
[escalated] =>
[author] =>
[comments] =>
[host] => atl1-1-01-002-11
[hostaddress] => 172.27.144.254
[hostalias] => atl1-1-01-002-11
[hostdisplayname] => 172.27.144.254
[service] => nrpe-rsyslogd
[hoststate] => UP
[hoststateid] => 0
[servicestate] => CRITICAL
[servicestateid] => 2
[lastservicestate] => CRITICAL
[lastservicestateid] => 2
[servicestatetype] => SOFT
[currentattempt] => 2
[maxattempts] => 5
[serviceeventid] => 997886
[serviceproblemid] => 491989
[serviceoutput] => PROCS CRITICAL: 0 processes with command name rsyslogd, UID = 0 (root)
[longserviceoutput] =>
[datetime] => Thu Aug 15 11:53:58 EDT 2024
)
[logging_enabled] => 1
)
ERROR: Could not find user_id for contact '$'