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-contact
Code: Select all
xi_contact_generic
The
Code: Select all
contact_generic
Code: Select all
notify-service-by-email
Code: 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