Skip to content

Instantly share code, notes, and snippets.

@pshima
Created March 31, 2012 06:50
Show Gist options
  • Save pshima/2260113 to your computer and use it in GitHub Desktop.
Save pshima/2260113 to your computer and use it in GitHub Desktop.
haproxy_http_production:
command: /etc/sensu/plugins/haproxy/haproxy-metrics.rb -h my.hostname.com -q haproxy_stats -u username -p password -s my.hostname
handlers: ["graphite"]
interval: 60
subscribers: ["sensu_server"]
type: metric
memcached_graphite_production:
command: /etc/sensu/plugins/memcached/check-memcached-graphite.rb -h my.hostname -p 11211
handlers: ["graphite"]
interval: 60
subscribers: ["sensu_server"]
type: metric
mysql_graphite_production:
command: /etc/sensu/plugins/mysql/check-mysql-graphite.rb -h my.hostname -P 3306 -u username -p password -s db
handlers: ["graphite"]
interval: 60
subscribers: ["sensu_server"]
type: metric
newrelic_production:
command: /etc/sensu/plugins/newrelic/newrelic-metrics.rb -k f32fh2h2hf0hwdfsj0fs0hf0sd8h0f8h -n Appname -s Appname
handlers:
graphite
geckoboard
interval: 60
subscribers: ["sensu_server"]
type: metric
redis_graphite_production:
command: /etc/sensu/plugins/redis/check-redis-graphite.rb -h my.hostname -p 6379
handlers: ["graphite"]
interval: 60
subscribers: ["sensu_server"]
type: metric
solr_graphite_production:
command: /etc/sensu/plugins/solr/check-solr-graphite.rb -h my.hostname -p 8000 -s my.hostname
handlers: ["graphite"]
interval: 60
subscribers: ["sensu_server"]
type: metric
graphite:
command: /etc/sensu/handlers/metrics/graphite-tcp.rb
type: pipe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment