This is a critical part of my ZABBIX project but I'm just not having any success.
I need to configure ZABBIX to send email alerts on certain triggers. I'm using a gmail address and a script called zabbix-alert-smtp.py. The script got good reviews so evidently some were having success with it. Just not me.
I can test it in a terminal session using python zabbix-alert-smtp.py [email protected] Test Test. And I get the appropriate email. I have a media type set up as script and zabbix-alert-smtp.py. Notifications are enabled and I have an action to send email to Zabbix Administrators.
If however I force the trigger into an error condition, the error shows on the Monitor Page and tells me that emails are in progress. Unfortunately after a period of time it switches to email not sent and I do not get any emails.
I thought it might be a permissions issue and I added zabbix to the root group since it worked from the command line when I was sshed in as root.
I'm running 2.0.14 on Debian Wheezy. Is this addressed in a later version of ZABBIX? Is there a better way to do this?
I understand that this is nearly a duplicate thread, but my original thread on this topic got zero response so I thought a different title might help.
I need to configure ZABBIX to send email alerts on certain triggers. I'm using a gmail address and a script called zabbix-alert-smtp.py. The script got good reviews so evidently some were having success with it. Just not me.
I can test it in a terminal session using python zabbix-alert-smtp.py [email protected] Test Test. And I get the appropriate email. I have a media type set up as script and zabbix-alert-smtp.py. Notifications are enabled and I have an action to send email to Zabbix Administrators.
If however I force the trigger into an error condition, the error shows on the Monitor Page and tells me that emails are in progress. Unfortunately after a period of time it switches to email not sent and I do not get any emails.
I thought it might be a permissions issue and I added zabbix to the root group since it worked from the command line when I was sshed in as root.
I'm running 2.0.14 on Debian Wheezy. Is this addressed in a later version of ZABBIX? Is there a better way to do this?
I understand that this is nearly a duplicate thread, but my original thread on this topic got zero response so I thought a different title might help.
Comment