icinga-slack-webhook: A notifier from Icinga to Slack
Project Description
icinga-slack-webhook
==============
A script to send notifications to Slack.com from Nagios or Icinga via the generic webhook integration
.. image:: https://travis-ci.org/alphagov/icinga_slack_webhook.png?branch=master
:target: https://travis-ci.org/alphagov/icinga_slack_webhook
The `homepage is on Github <https://github.com/alphagov/icinga_slack_webhook>`_
Installation
------------
$ pip install icinga-slack-webhook
Usage
-----
::
usage: icinga_slack_webhook_notify [-h] -c CHANNEL -m MESSAGE -s SUBDOMAIN -t TOKEN
[-A SERVICEACTIONURL] [-H HOST] [-L LEVEL]
[-M HEADERMESSAGE] [-N SERVICENOTESURL] [-S STATUSCGIURL]
[-U USERNAME]
Send an Icinga Alert to Slack.com via a generic webhook integration
optional arguments:
-h, --help show this help message and exit
-c CHANNEL The channel to send the message to
-m MESSAGE The text of the message to send
-s SUBDOMAIN Slack.com subdomain
-t TOKEN The access token for your integration
-A SERVICEACTIONURL An optional action_url for this alert {default: None}
-H HOST An optional host the message relates to {default: UNKNOWN}
-L LEVEL An optional alert level {default: UNKNOWN}
-M HEADERMESSAGE A header message sent before the formatted alert
{default: I have received the following alert:}
-N SERVICENOTESURL An optional notes_url for this alert {default: None}
-S STATUSCGIURL The URL of status.cgi for your Nagios/Icinga instance
{default: https://nagios.example.com/cgi-bin/icinga/status.cgi}
-U USERNAME Username to send the message from {default: Icinga}
-V Display version information
==============
A script to send notifications to Slack.com from Nagios or Icinga via the generic webhook integration
.. image:: https://travis-ci.org/alphagov/icinga_slack_webhook.png?branch=master
:target: https://travis-ci.org/alphagov/icinga_slack_webhook
The `homepage is on Github <https://github.com/alphagov/icinga_slack_webhook>`_
Installation
------------
$ pip install icinga-slack-webhook
Usage
-----
::
usage: icinga_slack_webhook_notify [-h] -c CHANNEL -m MESSAGE -s SUBDOMAIN -t TOKEN
[-A SERVICEACTIONURL] [-H HOST] [-L LEVEL]
[-M HEADERMESSAGE] [-N SERVICENOTESURL] [-S STATUSCGIURL]
[-U USERNAME]
Send an Icinga Alert to Slack.com via a generic webhook integration
optional arguments:
-h, --help show this help message and exit
-c CHANNEL The channel to send the message to
-m MESSAGE The text of the message to send
-s SUBDOMAIN Slack.com subdomain
-t TOKEN The access token for your integration
-A SERVICEACTIONURL An optional action_url for this alert {default: None}
-H HOST An optional host the message relates to {default: UNKNOWN}
-L LEVEL An optional alert level {default: UNKNOWN}
-M HEADERMESSAGE A header message sent before the formatted alert
{default: I have received the following alert:}
-N SERVICENOTESURL An optional notes_url for this alert {default: None}
-S STATUSCGIURL The URL of status.cgi for your Nagios/Icinga instance
{default: https://nagios.example.com/cgi-bin/icinga/status.cgi}
-U USERNAME Username to send the message from {default: Icinga}
-V Display version information
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size & hash SHA256 hash help | File type | Python version | Upload date |
---|---|---|---|
icinga-slack-webhook-1.0.3.tar.gz (3.4 kB) Copy SHA256 hash SHA256 | Source | None | Dec 2, 2014 |