https://github.com/sensu-plugins/sensu-plugins-twilio
Sensu Twilio Plugins
https://github.com/sensu-plugins/sensu-plugins-twilio
monitoring sensu-handler sensu-plugins sensu-plugins-twilio twillio
Last synced: 11 months ago
JSON representation
Sensu Twilio Plugins
- Host: GitHub
- URL: https://github.com/sensu-plugins/sensu-plugins-twilio
- Owner: sensu-plugins
- License: mit
- Created: 2015-02-16T02:12:05.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T19:17:37.000Z (about 5 years ago)
- Last Synced: 2024-11-07T01:07:26.927Z (over 1 year ago)
- Topics: monitoring, sensu-handler, sensu-plugins, sensu-plugins-twilio, twillio
- Language: Ruby
- Homepage: http://sensu-plugins.io
- Size: 63.5 KB
- Stars: 0
- Watchers: 10
- Forks: 9
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## Sensu-Plugins-twilio
[](https://travis-ci.org/sensu-plugins/sensu-plugins-twilio)
[](http://badge.fury.io/rb/sensu-plugins-twilio)
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-twilio)
[](https://codeclimate.com/github/sensu-plugins/sensu-plugins-twilio)
[](https://gemnasium.com/sensu-plugins/sensu-plugins-twilio)
## Functionality
## Files
* bin/check-num-recordings.rb
* bin/handler-twiliosms.rb
## Usage
```
{
"twiliosms":{
"token":"a9d8ag98daf98ga9fd8g",
"number":"+111111111",
"sid":"AC0ds98gd098gf09d8fg",
"recipients":{
"+11111111111": {
"sensu_roles":[ "web-server" ],
"sensu_checks":[],
"sensu_level": 1
},
"+11111222222": {
"sensu_roles":[],
"sensu_checks":[ "mysql-alive" ],
"sensu_level": 2
}
}
}
}
```
`token`, `sid`, and `number` from twilio account configuration.
`sensu_checks` -> matching checks
`sensu_roles` -> matching subscribers or special values:
* `all` matches all events
* `keepalive` matches keepalive events
`sensu_level` -> minimum matching check return status value
* `0` -> activate for all check statuses: ok+warning+critical+unknown
* `1` -> activate for warning+critical+unknown
* `2` -> activate for critical+unknown
* `3` -> activate for unknown
## Installation
[Installation and Setup](http://sensu-plugins.io/docs/installation_instructions.html)
## Notes