Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Alignak notifications script pack

Project Description

Alignak package for notifications (simple mail, HTML mail, XMPP)

Installation

The installation of this package will copy some configuration files in the Alignak default configuration directory (eg. /usr/local/etc/alignak). The copied files are located in the default sub-directory used for the packs (eg. arbiter/packs).

Some JSON files

From PyPI

To install the package from PyPI:

sudo pip install alignak-notifications

From source files

To install the package from the source files:

git clone https://github.com/Alignak-monitoring-contrib/alignak-notifications
cd alignak-checks-notifications
sudo pip install .

Note: using `sudo python setup.py install` will not correctly manage the package configuration files! The recommended way is really to use `pip`;)

Documentation

This pack embeds several scripts that can be used to send notifications from Alignak:

  • simple printf sent to sendmail
  • python script to send HTML mail
  • python script to send XMPP notifications

Important: The HTML mail script is using an Alignak logo image in the mail composition. The default file for this logo is the alignak.png file located in the main directory of the project repository. An alternative logo URL can be specified in the notification command parameters.

Configuration

Edit the /usr/local/etc/alignak/arbiter/packs/resource.d/notifications.cfg file and configure the SMTP server address, port, user name and password.

#-- SMTP server configuration
$SMTP_SERVER$=your_smtp_server_address
$SMTP_PORT$=25
$SMTP_LOGIN$=your_smtp_login
$SMTP_PASSWORD$=your_smtp_password

Note: The python scripts assume that you have a direct python runnable … if you need to use python2.7 or something else to run python, you should:

cd /usr/local/bin
ln -s python2.7 python

Bugs, issues and contributing

Contributions to this project are welcome and encouraged … issues in the project repository are the common way to raise an information.

Release History

Release History

This version
History Node

1.0.0

History Node

0.4.6.1

History Node

0.4.6

History Node

0.4.5

History Node

0.4.4

History Node

0.4.3

History Node

0.4.2

History Node

0.4.1

History Node

0.4.0

History Node

0.3.1

History Node

0.3.0

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1b0

History Node

0.2.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
alignak_notifications-1.0.0.tar.gz (34.4 kB) Copy SHA256 Checksum SHA256 Source Sep 12, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting