#!/usr/bin/env ruby
+require "English"
+
def output_config
puts <<-END
graph_category passenger
$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