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

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dwradcliffe committed Jul 17, 2014
1 parent ce9116a commit 0343ad1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cookbooks/rubygems-sensu/recipes/balancer.rb
Expand Up @@ -12,23 +12,23 @@
end

sensu_check 'check_nginx_http' do
command "/usr/lib/nagios/plugins/check_http -I 127.0.0.1"
command '/usr/lib/nagios/plugins/check_http -I 127.0.0.1'
handlers ['slack']
subscribers ['balancer']
interval 30
additional(notification: 'nginx is not returning 200 OK on port 80', occurences: 3)
end

sensu_check 'check_nginx_https' do
command "/usr/lib/nagios/plugins/check_http -I 127.0.0.1 --ssl"
command '/usr/lib/nagios/plugins/check_http -I 127.0.0.1 --ssl'
handlers ['slack']
subscribers ['balancer']
interval 30
additional(notification: 'nginx is not returning 200 OK on port 443', occurences: 3)
end

sensu_check 'check_nginx_cert_expiration' do
command "/usr/lib/nagios/plugins/check_http -I 127.0.0.1 --ssl -C 30,14"
command '/usr/lib/nagios/plugins/check_http -I 127.0.0.1 --ssl -C 30,14'
handlers ['slack']
subscribers ['balancer']
interval 30
Expand Down

0 comments on commit 0343ad1

Please sign in to comment.