The Current State: $HOSTSTATE\n" looks to have been the issue.
I have updated the commands to Current State: $HOSTSTATE$\n" and now the messages show the correct information and the $CONTACTEMAIL$ is now being passed. Good deal.
Thanks for your help. I believe this is solved.
Search found 3 matches
- Thu Jan 23, 2020 4:39 pm
- Forum: Nagios XI
- Topic: Host notifications sending wrong $CONTACTEMAIL$
- Replies: 5
- Views: 106
- Thu Jan 23, 2020 3:25 pm
- Forum: Nagios XI
- Topic: Host notifications sending wrong $CONTACTEMAIL$
- Replies: 5
- Views: 106
Re: Host notifications sending wrong $CONTACTEMAIL$
The -r address is coming through fine, it is the contacts that seems to get dropped and substituted with the -r address. notify commnds are below commands are below: /usr/bin/printf "%b" "-BLAH Monitoring Systems-\nDate/Time: $LONGDATETIME$\n\nService: $SERVICEDESC$ on Host: $HOSTALIA...
- Thu Jan 23, 2020 11:56 am
- Forum: Nagios XI
- Topic: Host notifications sending wrong $CONTACTEMAIL$
- Replies: 5
- Views: 106
Host notifications sending wrong $CONTACTEMAIL$
Service notifications work fine, this only seems to happen on host notifications. When a host goes down, or is acknowledged, or returns to service and an alert is generated, the emails to: address, in the mail message, is being set to the Send From address defined in the Email Settings page. Not the...