Skip to content

AWS SNS plugin (based on the default email notification plugin) for Fzaninotto's awesome Uptime monitoring app.

License

Notifications You must be signed in to change notification settings

curtisz/uptime-sns-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

AWS SNS plugin (based on the default email notification plugin) for Fzaninotto's awesome Uptime monitoring app.

Resources

License

Stars

Watchers

Forks

Packages

No packages published