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

Commit

Permalink
Remove chef-client process check since it's no longer running as a da…
Browse files Browse the repository at this point in the history
…emon
Sam Kottler committed Jun 24, 2014
1 parent 9c63540 commit 0bce2b7
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -235,7 +235,7 @@ GRAPH
rubygems-repo (0.0.6)
aptly (>= 0.0.0)
rubygems (>= 0.0.0)
rubygems-sensu (0.0.49)
rubygems-sensu (0.0.50)
chef-vault (>= 0.0.0)
sensu (>= 0.0.0)
rubygems-ssh (0.0.3)
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.0.49'
version '0.0.50'

depends 'chef-vault'
depends 'sensu'
8 changes: 0 additions & 8 deletions cookbooks/rubygems-sensu/recipes/base.rb
Original file line number Diff line number Diff line change
@@ -28,14 +28,6 @@
additional(notification: 'There is a high number of procs running', occurences: 3)
end

sensu_check 'check_chef_client_proc' do
command "/opt/sensu/embedded/bin/ruby /etc/sensu/plugins/check-procs.rb -p '/usr/bin/chef-client -d -P /var/run/chef/client.pid'"
handlers ['slack']
subscribers ['all']
interval 30
additional(notification: 'chef-client is not running', occurences: 3)
end

sensu_check 'check_ntpd_proc' do
command "/opt/sensu/embedded/bin/ruby /etc/sensu/plugins/check-procs.rb -p '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
handlers ['slack']

0 comments on commit 0bce2b7

Please sign in to comment.