Metadata-Version: 2.1
Name: cabot-alert-webhooks
Version: 0.1.0
Summary: A Webhook plugin for Cabot
Home-page: https://github.com/arjunreddyc/cabot-alert-webhook
Author: Nagarjuna Reddy C
Author-email: nagarjuna@playment.in
License: UNKNOWN
Download-URL: https://github.com/arjunreddyc/cabot-alert-webhook/tarball/master
Keywords: cabot,webhook,status check
Platform: UNKNOWN

==========================
Cabot Webhook Alert Plugin
==========================

A plugin for `Cabot`_ service monitoring that will post alerts to a URL.

The plugin will POST a payload like the following to a user-defined endpoint::

    {
      'service': 'my_service_name',
      'status': 'ERROR',
      'old_status': 'PASSING',
    }


Installation
============

Install from pip::

    $ pip install cabot-alert-webhook
    $ foreman stop

Edit `conf/*.env`::

    # add cabot_alert_webhook to your comma separated list
    CABOT_PLUGINS_ENABLED=cabot_alert_webhook

Run migrations and restart cabot::

    $ foreman run python manage.py migrate
    $ foreman start

.. _Cabot: https://cabotapp.com


