Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jirwin/treslek-rackspace-cloud-monitoring

A treslek plugin to handle and announce Rackspace Cloud Monitoring webhooks
https://github.com/jirwin/treslek-rackspace-cloud-monitoring

Last synced: about 1 month ago
JSON representation

A treslek plugin to handle and announce Rackspace Cloud Monitoring webhooks

Awesome Lists containing this project

README

        

treslek-rackspace-cloud-monitoring
===========

A treslek plugin to handle and announce Rackspace Cloud Monitoring
webhooks

# How it works
Configure a Rackspace Cloud Monitoring webhook @
https://intelligence.rackspace.com and point it at treslek webhook
server with the beginning path of 'raxcm'. An example webhook address
would be: `http://example.com:1304/raxcm/cloudmonitoring`.

# Configure
This plugin is configured via a JSON file named config.json in the root
directory of the plugin.

An example config:
```json
{
"paths": {
"cloudmonitoring": ["##treslek", "#treslek"]
},
"token": "foobar123",
"templateString": "{{entity.label || entity.id}} - {{details.state}}",
"disableStateColors": false
}
```

The `paths` key contains a set of paths that come after `raxcm` in the
URL and designates the channels that should recieve the resulting
webhook information.

The `token` key is where you specify the secret token provided by
Rackspace Cloud Monitoring for verifying authenticity.

Use the `templateString` config to control the message that treslek outputs to the channel.

Set `disableStateColors` to `true` if you don't want alarm states to be colored.

# license
MIT