0.0.3 • Published 11 years ago
uptime-sns v0.0.3
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-snsTo 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: falseAn example configuration is provided in config/config.example.yaml.
License
This plugin is released under MIT license.