GithubHelp home page GithubHelp logo

abulimov / icinga_slack_webhook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alphagov/icinga_slack_webhook

0.0 3.0 1.0 95 KB

Send an Icinga Alert to Slack.com via Webhook

License: MIT License

Python 100.00%

icinga_slack_webhook's Introduction

icinga-slack-webhook ==============

A script to send notifications to Slack.com from Nagios or Icinga via the generic webhook integration

image

The homepage is on Github

Installation

$ pip install icinga-slack-webhook

Usage

usage: icinga_slack_webhook_notify [-h] -c CHANNEL -m MESSAGE -s SUBDOMAIN -t TOKEN
                                   [-A ACTIONURL] [-H HOST] [-L LEVEL]
                                   [-M HEADERMESSAGE] [-N NOTESURL] [-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 ACTIONURL         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 NOTESURL          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

icinga_slack_webhook's People

Contributors

abulimov avatar carpodaster avatar samjsharpe avatar wd256 avatar

Watchers

 avatar  avatar  avatar

Forkers

jof

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.