Using Zabbix 3.0 on Ubuntu
So I wrote an email notification script called zabbix-sendmail and placed the script in the /usr/local/share/zabbix/alertscripts/ dir. It works perfectly from command line. No problems there.
I added the script to Media types and named it Send-Email-Script.
I added a user named Alert, added Alert to a group that has RW permissions on the host groups & hosts being monitored.
I added media to the user selecting Send-Email-Script and left it 24/7 NIWAHD, pointing it to the email address I tested via cli.
I went into Actions and enabled several internal and Discovery.
The Action Log shows that the correct script is trying to email me at the correct address but it now says "In progress: 3 retries left".
Any idea what I'm missing here?
Thank you in advance for any help!
So I wrote an email notification script called zabbix-sendmail and placed the script in the /usr/local/share/zabbix/alertscripts/ dir. It works perfectly from command line. No problems there.
I added the script to Media types and named it Send-Email-Script.
I added a user named Alert, added Alert to a group that has RW permissions on the host groups & hosts being monitored.
I added media to the user selecting Send-Email-Script and left it 24/7 NIWAHD, pointing it to the email address I tested via cli.
I went into Actions and enabled several internal and Discovery.
The Action Log shows that the correct script is trying to email me at the correct address but it now says "In progress: 3 retries left".
Any idea what I'm missing here?
Thank you in advance for any help!
Comment