Skip to content
/ alertd Public
forked from cuttlefish-uk/alertd

A simple, lightweight monitoring and alerting daemon

License

Notifications You must be signed in to change notification settings

judev/alertd

 
 

Repository files navigation

alertd

A simple, lightweight monitoring and alerting daemon for nodejs. Designed to run either as a backend to statsd or standalone.

We are using this as a replacement for a Nagios setup which we were finding overcomplicated for what we need. This provides similar alerting capabilities and is a breeze to add new monitors to. Especially useful for alerting based on metrics already being sent through statsd.

requirements

  • node (tested with v0.8.2)
  • emailjs (tested with v0.3.0)

Optional:

  • node-prowl (tested with v0.1.4)
  • statsd-client (tested with v0.0.4)

statsd backend

In your statsd config you'll want something along the lines of:

{
  graphitePort: 2003
, graphiteHost: "127.0.0.1"
, port: 8125
, mgmt_port: 8126
, flushInterval: 60000
, backends: [
	'./backends/graphite.js'
  , '../alertd/statsd_backend.js'
]
, alertConfig: '../alertd-config.js'
}

alertd-config.js will be reloaded on changes in the same way as the statsd config.

standalone

Run alertd standalone using:

node alerts.js /path/to/alertd-config.js

configuration

See exampleConfig.js for a basic rundown of the layout.

About

A simple, lightweight monitoring and alerting daemon

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published