Hey Y'all. New Zabbix user here.
I am trying to set up a zabbix box for network monitoring and I've already been able to accomnplish more in just a couple if days with Zabbix than I was with about a month working with OpenNMS.
I'm wanting to use a gmail account for notifications and found the script zabbix-alert-smtp.py
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.
So, the script works if I run it from the terminal console but not from Zabbix itself.
Any ideas?
I am trying to set up a zabbix box for network monitoring and I've already been able to accomnplish more in just a couple if days with Zabbix than I was with about a month working with OpenNMS.
I'm wanting to use a gmail account for notifications and found the script zabbix-alert-smtp.py
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.
So, the script works if I run it from the terminal console but not from Zabbix itself.
Any ideas?
Comment