configuration mgmt and #monitoringlove - chefconf 2013

44
Configuration management and #monitoringlove #devops #monitoringlove #opschef #dadops @ulfmansson the #swedishchef

Upload: ulfmansson

Post on 13-Jul-2015

201 views

Category:

Technology


1 download

TRANSCRIPT

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/vagrant­monigusto.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 "check­procs.rb ­p redis­server ­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)