Skip to content
danryan edited this page Apr 11, 2011 · 3 revisions

Events are notifications sent by the system. They are typically used by checks to send an alert that a failure condition has occurred, though events can be used for any purpose.

  • Email when a user has logged in
  • Send a request to a external service webhook

One or more events can be associated with a check. For instance, Events are designed to be easily extendable. An event is the notification that occurs if a Check parses a Snapshot and determines that the Node is outside of the Check's acceptable threshold.

Alerts can be passed in a variety of ways:

  • email
  • SMS
  • via a webhook

Example

A Check is created that looks at the one minute load average of a given application node. The Check finds that this node's load average is higher than the specified threshold and sends an Alert to a webhook, when fired, spins up another copy of an application node.

Example 2

if Nginx on one of your app servers dies, you can send an email to your team, send an SMS alert, generate a graph from the last hour of snapshots, send a request to your provisioning app to take down the server, tell it to spin up a new app server, and update your configuration manager to reconfigure your load balancer.

Clone this wiki locally