Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
delete check_collectd_proc check
Browse files Browse the repository at this point in the history
Sam Kottler committed Mar 14, 2015
1 parent 9360469 commit b64f97c
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Berksfile.lock
Original file line number Diff line number Diff line change
@@ -184,7 +184,7 @@ GRAPH
route53 (0.3.8)
build-essential (>= 0.0.0)
rsyslog (1.12.2)
rubygems (0.0.38)
rubygems (0.0.39)
chef-vault (>= 0.0.0)
datadog (>= 0.0.0)
ohai (>= 0.0.0)
@@ -302,7 +302,7 @@ GRAPH
rubygems (>= 0.0.0)
rubygems-ruby (0.0.5)
apt (>= 0.0.0)
rubygems-sensu (0.1.26)
rubygems-sensu (0.1.27)
build-essential (>= 0.0.0)
chef-vault (>= 0.0.0)
cpan (>= 0.0.0)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-sensu/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name 'rubygems-sensu'
maintainer 'RubyGems.org ops team'

version '0.1.26'
version '0.1.27'

depends 'build-essential'
depends 'chef-vault'
6 changes: 1 addition & 5 deletions cookbooks/rubygems-sensu/recipes/base.rb
Original file line number Diff line number Diff line change
@@ -20,11 +20,7 @@
end

sensu_check 'check_collectd_proc' do
command "/opt/sensu/embedded/bin/ruby /etc/sensu/plugins/check-procs.rb -p 'collectd -C /etc/collectd/collectd.conf'"
handlers ['slack']
subscribers ['all']
interval 30
additional(notification: 'collectd is not running', occurrences: 3)
action :delete
end

sensu_check 'check_ssh' do

0 comments on commit b64f97c

Please sign in to comment.