Hi,
I upgraded our Nagios XI 2014R2 to 5.4.7 last night, and now email notifications aren't arriving correctly. This was working properly before the upgrade. The logs show that emails are being sent.
However, the /var/log/maillog shows no attempt to send email. Logging in as the "nagios" user and sending the following command works correctly.[1501071308] SERVICE NOTIFICATION: USERNAME;IT06010;Port Usage Errors Discards;OK;xi_service_notification_handler;SERVICE:UP (0.4%/0.0%/0.0/0.0/0.0/0.0), SERVICE:UP (2.8%/39.7%/0.0/0.0/0.0/2.9), SERVICE:UP (0.0%/0.0%/0.0/0.0/0.0/0.0):3 UP: OK
Code: Select all
/usr/bin/printf "%b" "***** Nagios Monitor XI Alert *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" [email protected]Running RHEL updates did appear to reset the postfix configuration to default. However, I changed the relay host, and it works from the command line again. Since it's not even hitting the logs, I think it may be a separate issue, possibly on the Nagios side.
Could someone please assist me in troubleshooting this issue?