Hi. I am having an issue with some email notifications. When they arrive they look like this....
Subject: ** RECOVERY alert - KRONOS-***-SO-I2/$ is $ **
Body:
***** centreon Notification *****
Notification Type: RECOVERY
Service: $
Host: KRONOS-***-SO-I2
Address: 10.72.85.173
State: $
Date/Time: 17-08-2016 Additional Info : $
The host and service are coming in as dollar signs. Other notifications for different host and services work just fine.
This is my command line for email:
/usr/bin/printf "%b" "***** centreon Notification *****\n\nType:$NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\nDate/Time: $DATE$" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$
How can I fix this????
Email Notification Issue
Re: Email Notification Issue
We do not provide support for Centreon. You will need to post on their forums.
Former Nagios employee