Giter Club home page Giter Club logo

zabbix-alert-smtp's Introduction

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

zabbix-alert-smtp's People

Contributors

superdaigo avatar

Stargazers

fire9 avatar

Forkers

cmanikumar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.