upmon-sms
v1.0.0
Published
Send an SMS message when upmon detects a failure
Downloads
32
Maintainers
Readme
upmon-sms
Send an SMS message when upmon detects a failure.
Getting started
npm install -g upmon upmon-sms
Create a new
$HOME/.upmonrc
file and add config:{ "ping": { // Time in ms between pings "interval": 5000, // URL's of services to ping "services": ["http://localhost:8000/"] }, "sms": { // SMS provider config "messagebird": { "accessKey": "live_hy6ggbrRf4Bvfe48GGip8MtJM", "originator": "447000000000", "recipients": "447000000000" } } }
upmon | upmon-sms
Supported providers
- MessageBird (messagebird.com)
Please PR and add more!
Build your own monitor
Want to run upmon from guvnor or pm2?
Create a new project, add a .upmonrc
config file, install the upmon modules you need, and pipe them together!
monitor.js
var upmon = require('upmon')
var sms = require('upmon-sms')
var mail = require('upmon-mail')
upmon().pipe(sms()).pipe(mail()).pipe(process.stdout)
pm2 start monitor.js