uptime-sns
v0.0.3
Published
An AWS SNS plugin for Uptime
Downloads
3
Readme
uptime-sns-plugin
AWS SNS plugin for Fzaninotto's awesome Uptime monitoring app, inspired by uptime-webhooks and the default email plugin.
To use this plugin, install it via npm while in the Uptime directory:
$ npm install uptime-sns
To enable the plugin, two things need to be accomplished. First, add the plugin to plugins/index.js
:
exports.init = function() {
require('uptime-sns').init();
}
Finally, create a new section in your config file for this plugin by adding the following lines to the very bottom:
sns:
auth:
user: AWS_ACCESS_ID
secret: AWS_SECRET_KEY
options:
region: 'us-east-1'
topicArn: 'arn:aws:sns:us-east-1:012345678910:Notify' # AWS target ARN
event:
up: true
down: true
paused: false
restarted: false
An example configuration is provided in config/config.example.yaml
.
License
This plugin is released under MIT license.