Configuration management and #monitoringlove #devops #monitoringlove #opschef #dadops @ulfmansson the #swedishchef
Jul 13, 2015
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