Skip to content

Instantly share code, notes, and snippets.

@DoriftoShoes
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DoriftoShoes/8d67be4cfe64b93ed2ed to your computer and use it in GitHub Desktop.
Save DoriftoShoes/8d67be4cfe64b93ed2ed to your computer and use it in GitHub Desktop.
---
name: "sensu.event_to_email"
description: "Email all sensu events"
trigger:
type: "sensu.event_handler"
parameters: {}
criteria: {}
action:
ref: "core.sendmail"
parameters:
to: "opsadmin@stackstorm.com"
subject: "'[SENSU] {{trigger.client.name}} - {{trigger.check.name}}'"
body: "{{trigger}}"
enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment