in my zabbix server there are so many events trigger
they work so well but one day the mechine broken down
all the data lost
so i rebuild the system of zabbix server
when i make the Email to send events trigger from zabbix server
there is some problems in this case
the destination Email account didn't show the messages of the trigger message
the mail' title are correct and the send Email address are correct
so i tried somethings
1. # echo "this is the mail messages" | mail -s "mail test" [email protected]
it's works recive mail message correct
2. create a sendmail type on zabbix server mediatype
create a shell named sendmail.sh
#!/bin/bash
echo "$3" | mail -s "$2" $1
it till work but the destination Email address didn't show the $3 message on the mail
what's the problem?
any one can help me ?
the errors about the version of zabbix server
for install i tried tow ways one from yum insatll one from the source
it looks no errors about the version
they work so well but one day the mechine broken down
all the data lost
so i rebuild the system of zabbix server
when i make the Email to send events trigger from zabbix server
there is some problems in this case
the destination Email account didn't show the messages of the trigger message
the mail' title are correct and the send Email address are correct
so i tried somethings
1. # echo "this is the mail messages" | mail -s "mail test" [email protected]
it's works recive mail message correct
2. create a sendmail type on zabbix server mediatype
create a shell named sendmail.sh
#!/bin/bash
echo "$3" | mail -s "$2" $1
it till work but the destination Email address didn't show the $3 message on the mail
what's the problem?
any one can help me ?
the errors about the version of zabbix server
for install i tried tow ways one from yum insatll one from the source
it looks no errors about the version
Comment