WARNING notifications not being delivered via email
Posted: Mon Dec 28, 2015 12:47 pm
My "nagiosadmin" contact receives OK (recovery) messages via email, but not WARNING messages. My other two contacts DO get email messages for both the WARNING and OK states.
All of the contacts are setup to receive not only an email, but, also a second notification via the "Pushover" service. The Pushover notification DOES work for the nagiosadmin user under the WARNING condition.
In the "Notifications" log (Home-Notifications), I DO see an entry for the WARNING email notification (lines truncated for clarity)
But, no WARNING message in /var/log/messages (lines truncated to text prior to the @ sign) (tom is the nagiosadmin user)
As can be seen, there is an xi_service_notification_handler line for nagiosadmin in "Notifications" at 10:04:03, but, no corresponding entry in /var/log/messages. The other contacts do have entries in Notifications for that 10:04:03 timeframe, as well as entries in /var/log/messages.
All of the contacts are setup to receive not only an email, but, also a second notification via the "Pushover" service. The Pushover notification DOES work for the nagiosadmin user under the WARNING condition.
In the "Notifications" log (Home-Notifications), I DO see an entry for the WARNING email notification (lines truncated for clarity)
Code: Select all
time state contact dispatcher command information
10:09:01 OK nagiosadmin Nagios XI xi_service_notification_handler OK - System: 'PowerEdge 2950 III', SN: '4H907G1'...
10:09:01 OK nagiosadmin Custom ed-notify-service-by-pushover OK - System: 'PowerEdge 2950 III', SN: '4H907G1'...
10:09:01 OK johnd Nagios XI xi_service_notification_handler OK - System: 'PowerEdge 2950 III', SN: '4H907G1'...
10:09:01 OK johnd Custom ed-notify-service-by-pushover OK - System: 'PowerEdge 2950 III', SN: '4H907G1'...
10:09:01 OK jeffp Nagios XI xi_service_notification_handler OK - System: 'PowerEdge 2950 III', SN: '4H907G1'...
10:09:01 OK jeffp Custom ed-notify-service-by-pushover OK - System: 'PowerEdge 2950 III', SN: '4H907G1'...
10:04:03 WARNING nagiosadmin Nagios XI xi_service_notification_handler Temperature Probe 0 [System Board Ambient Temp] reads 8 C (min=8/3, max=42/47)
10:04:03 WARNING nagiosadmin Custom ed-notify-service-by-pushover Temperature Probe 0 [System Board Ambient Temp] reads 8 C (min=8/3, max=42/47)
10:04:03 WARNING johnd Nagios XI xi_service_notification_handler Temperature Probe 0 [System Board Ambient Temp] reads 8 C (min=8/3, max=42/47)
10:04:03 WARNING johnd Custom ed-notify-service-by-pushover Temperature Probe 0 [System Board Ambient Temp] reads 8 C (min=8/3, max=42/47)
10:04:03 WARNING jeffp Nagios XI xi_service_notification_handler Temperature Probe 0 [System Board Ambient Temp] reads 8 C (min=8/3, max=42/47)
10:04:03 WARNING jeffp Custom ed-notify-service-by-pushover Temperature Probe 0 [System Board Ambient Temp] reads 8 C (min=8/3, max=42/47)
Code: Select all
Dec 28 10:04:05 nagios postfix/smtp[29502]: BB6A8221341: to=<jeffp
Dec 28 10:04:05 nagios postfix/smtp[29506]: D6C1A221342: to=<johnd
Dec 28 10:09:02 nagios postfix/smtp[6893]: 019E0221351: to=<jeffp
Dec 28 10:09:02 nagios postfix/smtp[6929]: 3550A221353: to=<tom
Dec 28 10:09:02 nagios postfix/smtp[6908]: 1EEDF221352: to=<johnd