Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
alert when your system is down
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
node_modules
.cupboard
.gitignore
README.md
package.json

README.md

What's this?

An app which alerts you when your system is down.

Features

To-Do

  • scan directory for configs
  • accept ini, or JSON configs

API Methods

/alert/:source/:event

Triggers a notification on the server

  • source - the source of the notification. E.g: alertbird
  • event - the event that handles the given notification. E.g: myapp-errors, myapp-warnings
Example:

http://user@pass:teamdigest-sysalert.heroku.com/alert/alertbird/server-down?description=...

Configuration

In your sysalert.cont file:

#optional      
[auth]
username=basicuser
password=basicpass     


# event for notifications
[event:X]
email=me@email.com another@email.com          
sms=+1XXXXXXXXXX
voice=+1XXXXXXXXXX 
message=general message to display

[keys:sysalert_notify_part_twilio]
token=XXXXXXXXXXXXX  
sid=XXXXXXXXXXXXX
phoneNumber=+1XXXXXXXXXX   
hostname=XXXX.localtunnel.com

[keys:sysalert_notify_part_mailgun]
key=XXXXXXXXXX           

#to-do
[include]
directories=/etc/syslog/*.conf


Something went wrong with that request. Please try again.