bin/check-varnish-status.rb in sensu-plugins-varnish-1.1.1 vs bin/check-varnish-status.rb in sensu-plugins-varnish-1.1.2
- old
+ new
@@ -86,10 +86,10 @@
else
critical 'Varnish down'
end
end
- if config[:command] == 'debug.health'
+ if config[:command] == 'debug.health' || config[:command] == 'backend.list'
if command.downcase.include? 'sick'
critical 'Sick backends detected'
else
ok 'All backends healthy'
end