Skip to content

Instantly share code, notes, and snippets.

@endymion
Created November 12, 2013 15:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save endymion/7432783 to your computer and use it in GitHub Desktop.
Save endymion/7432783 to your computer and use it in GitHub Desktop.
Manual control over Engine Yard environment alerts by configuring collectd with custom Chef recipes
if node[:name] && node[:name].downcase =~ /resque/
collectd do
load :warning => 20, :failure => 30
end
end
if node[:name] && node[:name].downcase =~ /cron/
collectd do
load :warning => 15, :failure => 20
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment