I created a script to send an email to a group user like an action operation.
The script receives the three parameters (recipient, subject and message). The script is working well manually. Zabbix tells that the email was sent, but the email is not received at the recipient's mailbox. I modified the script for editting a txt file when it is called, but when the action occurs, the txt file is not editted .
The script is in the folder /etc/zabbix/externalscripts.
I would like to know if the Zabbix registers in some logfile this attempt of sending the email. And why Zabbix tells me that it was sent ?
The script receives the three parameters (recipient, subject and message). The script is working well manually. Zabbix tells that the email was sent, but the email is not received at the recipient's mailbox. I modified the script for editting a txt file when it is called, but when the action occurs, the txt file is not editted .
The script is in the folder /etc/zabbix/externalscripts.
I would like to know if the Zabbix registers in some logfile this attempt of sending the email. And why Zabbix tells me that it was sent ?
Comment