WARNING notifications not being delivered via email

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

WARNING notifications not being delivered via email

Post by manymiles »

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)

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)
But, no WARNING message in /var/log/messages (lines truncated to text prior to the @ sign) (tom is the nagiosadmin user)

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
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.
Last edited by tgriep on Tue Dec 29, 2015 12:59 pm, edited 2 times in total.
Reason: removed profile.zip
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: WARNING notifications not being delivered via email

Post by tgriep »

Can you login to the Nagios XI GUI as nagiosadmin, click on the username in the top right corner, then click on the Notification Preferences link on the left side and verify that the settings are correct?
Can you go to Admin > Manage Email Settings and post how the email settings are configured on your server?
Be sure to check out our Knowledgebase for helpful articles and solutions!
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: WARNING notifications not being delivered via email

Post by manymiles »

Well, there's my problem.

I somehow missed checking that area of settings. "Service Warning" was off in the "Notification Preferences" for the user itself.

Thanks for the help!
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: WARNING notifications not being delivered via email

Post by hsmith »

Glad to hear it is resolved. Would you like us to close this thread?
Former Nagios Employee.
me.
manymiles
Posts: 43
Joined: Sat Mar 16, 2013 8:24 am

Re: WARNING notifications not being delivered via email

Post by manymiles »

Yes, you may close it.
Locked