Upload
chef-software-inc
View
627
Download
2
Embed Size (px)
DESCRIPTION
I will tell a story about how we changed from our old monitoring monolith to monitoring based on Sensu and friends driven by configuration management, how #monitoringsucks become #monitoringlove for us. Monitoring in virtual environments like the cloud has changed the way how monitoring solution needs to work and look like. The configuration of monitoring needs to be driven by configuration management and not by discovering or manually processes via UIs. The monitoring solutions needs to be flexible, scalable and easy to configure. I will tell how we have done at Recorded Future to implement a state-of-the-art solution based on Sensu, RabbitMQ, Redis, Graphite, collectd, mcollective, etc driven by Chef.
Citation preview
Configuration management and #monitoringlove
#devops
#monitoringlove
#opschef
#dadops
@ulfmansson the #swedishchef
Some example from Monigusto – monitoring up by @patrickdebois
git clone https://github.com/monigusto/vagrantmonigusto.git
Handler config
sensu_handler "default" do
type "set"
handlers [ "pagerduty", “mail” ]
end
sensu_handler "pagerduty" do
type "pipe"
command "pagerduty.rb"
severities ["ok", "critical"]
end
Creating a check
sensu_check "redis_process" do
command "checkprocs.rb p redisserver C 1"
handlers ["default"]
subscribers ["redis"]
interval 30
additional(:notification => "Redis is not running")
end
Sensu admin (state, db)
Questions?
Community Track – Bayview B
The Sensu team (- Sean Porter)
Sensu-dashboard (stateless, no db)