X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/21958591555b0b80370e944e3128ac5d533c281d..d6aa4663cf978ed6db3e34c8c7d63dc13b430305:/cookbooks/munin/files/default/plugins/passenger_queues diff --git a/cookbooks/munin/files/default/plugins/passenger_queues b/cookbooks/munin/files/default/plugins/passenger_queues index a7060fd66..60be63389 100755 --- a/cookbooks/munin/files/default/plugins/passenger_queues +++ b/cookbooks/munin/files/default/plugins/passenger_queues @@ -1,5 +1,7 @@ #!/usr/bin/env ruby +require "English" + def output_config puts <<-END graph_category passenger @@ -17,7 +19,7 @@ def output_values $stderr.puts "failed executing passenger-status" exit 1 end - status =~ /Waiting on global queue:\s+(\d+)/ + status =~ /Requests in top-level queue :\s+(\d+)/ puts "global.value #{Regexp.last_match[1]}" end