5 graph_category passenger
6 graph_title Passenger processes
7 graph_order active inactive
11 active.label busy servers
13 inactive.label idle servers
20 status = `/usr/sbin/passenger-status`
22 $stderr.puts "failed executing passenger-status"
25 status =~ /active\s+=\s+(\d+)/
26 puts "active.value #{$1}"
28 status =~ /inactive\s+=\s+(\d+)/
29 puts "inactive.value #{$1}"
32 if ARGV[0] == "config"