Skip to content

Instantly share code, notes, and snippets.

@gpendler
Created December 4, 2012 00:33
Show Gist options
  • Save gpendler/4199386 to your computer and use it in GitHub Desktop.
Save gpendler/4199386 to your computer and use it in GitHub Desktop.
{"version"=>"0.9.8-1", "rabbitmq"=>{"host"=>"sensu.XXXXXX.com", "port"=>5671, "ssl"=>{"cert_chain_file"=>"/etc/sensu/ssl/cert.pem", "private_key_file"=>"/etc/sensu/ssl/key.pem"}, "vhost"=>"/sensu", "user"=>"sensu", "password"=>"XXXX", "heartbeat"=>20}, "redis"=>{"host"=>"localhost", "port"=>6379}, "api"=>{"host"=>"localhost", "port"=>4567}, "dashboard"=>{"host"=>"localhost", "port"=>8080, "user"=>"admin", "password"=>"XXXX"}, "client"=>{"name"=>"sensu.XXXX.com", "address"=>"10.X.XX.21", "subscriptions"=>["Base", "Redis", "SensuServer"]}, "checks"=>{"chef_client"=>{"notification"=>"Chef client daemon is not running.", "interval"=>60, "custom_attribute_here"=>"value", "subscribers"=>["sensu_client", "Base"], "command"=>"/etc/sensu/plugins/check-procs.rb -p chef-client -W 1 -w 2 -c 3"}, "disk_usage"=>{"notification"=>"Disk usage is too high.", "interval"=>60, "subscribers"=>["Base"], "command"=>"/etc/sensu/plugins/check-disk.rb -w 90 -c 95 -x nfs,tmpfs,fuse -i /boot,/mnt/data_imports"}, "redis_memory"=>{"notification"=>"Redis memory is too high.", "interval"=>60, "subscribers"=>["Redis"], "command"=>"/etc/sensu/plugins/check-redis-memory.rb -w 900 -c 950"}}, "handlers"=>{"debug"=>{"type"=>"pipe", "command"=>"/etc/sensu/handlers/debug.rb"}, "default"=>{"type"=>"set", "handlers"=>["debug", "mailer"]}, "mailer"=>{"type"=>"pipe", "command"=>"/etc/sensu/handlers/mailer.rb"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment