Email notifications not working to contacts
Posted: Fri Feb 19, 2021 8:25 am
Hello,
We seem to be having issues with email notifcations to email addresses from contacts which have no user. The contact template was set to as we know there are issues with for contacts without a user.
The contact template uses the command which has configured:
Notifications are visible in the Notifications overview, but the message never arrives in the mailboxes, either internal, nor external.
Please advice how to troubleshoot this, what logs we should check etc. We have this problem both on QA as PR.
Grtz
Willem
We seem to be having issues with email notifcations to email addresses from contacts which have no user. The contact template was set to
Code: Select all
generic-contactCode: Select all
xi_contact_genericThe
Code: Select all
contact_genericCode: Select all
notify-service-by-emailCode: Select all
/usr/bin/printf "%b" "***** Nagios Monitor XI Alert *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$Please advice how to troubleshoot this, what logs we should check etc. We have this problem both on QA as PR.
Grtz
Willem