A treslek plugin to handle and announce Rackspace Cloud Monitoring webhooks
npm install treslek-rackspace-cloud-monitoringtreslek-rackspace-cloud-monitoring
===========
A treslek plugin to handle and announce Rackspace Cloud Monitoring
webhooks
http://example.com:1304/raxcm/cloudmonitoring.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.