A watchdog service
Lassie is a simple watchdog service written in CoffeeScript. It sports a basic modular architecture that can host multiple types of service checks and alerts.
Lassie doesn't do any graphing or statistical collection. You probably want statsd+Graphite or Munin if you're looking for something like that. Lassie will notify you if a service goes down (and comes back up), nothing more.
options: # Check every X seconds check_frequency: 60 # Run as a daemon daemon: true log: lassie.log pid: lassie.pid # Twilio API credentials twilio: sid: TWILIO_SID token: TWILIO_TOKEN phnum: TWILIO_PHNUM # outgoing phone number # Slack API token and target channels/users slack: token: SLACK_TOKEN channels: - 'monitoring' users: - 'judd' # # ALERTS LEVELS + CONTACTS # alerts: notify: admin-email: type: email to: firstname.lastname@example.org team-chat: type: slack channels: ['monitoring'] emerg: admin-sms: type: sms phone: "+18001234567" admin-slack: type: slack users: ['judd'] # # CHECKS # checks: server1: type: ping host: server1.example.com alerts: [emerg, notify] server2: type: ping host: server2.example.com alerts: [emerg] site-web: type: web url: http://www.example.com fragment: "This is an example site" # This check must fail twice in a row before we consider it down. failures: 2 alerts: [emerg, notify] site-api: type: rest alerts: [emerg] url: 'https://api.example.com/test_endpoint' headers: accept: application/json x-api-key: abc123456