Skip to content

superdaigo/zabbix-alert-smtp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Zabbix Alert Script SMTP with tls

This script enables the zabbix to send alert email via SMTP with tls. (ie. Gmail, Amazon SES)

https://api.codacy.com/project/badge/Grade/08e4614ac7934d0287b102dc05632e92:target:https://www.codacy.com/app/superdaigo/zabbix-alert-smtp?utm_source=github.com&utm_medium=referral&utm_content=superdaigo/zabbix-alert-smtp&utm_campaign=Badge_Grade

https://coveralls.io/repos/github/superdaigo/zabbix-alert-smtp/badge.svg?branch=master:target:https://coveralls.io/github/superdaigo/zabbix-alert-smtp?branch=master

Requirements

python 2.6 or over

Installation

Clone source into your zabbix 'alertscripts' directory

$ cd /path/to/zabbix/alertscripts
$ git clone https://[email protected]:superdaigo/zabbix-alert-smtp.git

Confirm your system's python path with first line of a script 'zabbix-alert-smtp.sh'.

Mail Account Settings

Create settings.py and edit::
$ cd zabbix-alert-smtp $ zabbix-alert-smtp.sh example > settings.py

Confirm to send mail:

$ zabbix-alert-smtp.sh [email protected] 'Subject: Test Mail' 'Message: Ahoy!'

Setup Zabbix Media

Follow zabbix documents to create custom media. https://www.zabbix.com/documentation/2.0/manual/config/notifications/media/script

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages