Skip to main content

A Dingding plugin for Cabot

Project description

========================== Cabot Dingding 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::

    payload = {
        "msgtype": "text", 
        "text": {
            "content": message
        }, 
        "at": {
            "atMobiles": [
              service.name
            ], 
            "isAtAll": True
        }
    }

Installation

Install from pip::

$ pip install cabot-alert-dingding

Edit conf/*.env::

# add cabot_alert_dingding to your comma separated list
CABOT_PLUGINS_ENABLED=cabot_alert_dingding

Run migrations and restart cabot::

$ cabot migrate

.. _Cabot: https://cabotapp.com

Project details


Download files

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

Source Distribution

cabot-alert-dingding-0.2.2.tar.gz (2.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page