Good day. Raised the server with zabbix 5.0.5, configured it. When a notification is sent to the mail when a trigger is triggered, the notification comes, but all information about the problem is in a file, like: ATT00001. The information about triggers in the file is correct, but I would like it to be in the body of the message. Thanks
Ad Widget
Collapse
Problem with email notifications
Collapse
X
-
This sounds like a problem with how your email media is defined. Can you post a screen shot of your Zabbix media configuration for email? Be sure to obscure any password that might be used, if you're doing authenticated email relaying. -
Mail is sent through postfix using the script:
***
#! / bin / bash
to = $ 1
subject = $ 2
body = $ 3
cat << EOF | mail -s "$ subject" "$ to"
$ body
EOF
***Comment
-
Thank you very much. It all worked. Initially I configured it through a script, because I was raising a new server following the example of the old one. Once again, thanks a lot.Originally posted by cyberWhy don't you just configure email media type directly?Comment
Comment