Created
November 12, 2013 15:29
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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