mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-21 18:41:03 +00:00
Fixed element sorting on config call
This commit is contained in:
parent
08c3a67e8b
commit
82911254b1
3 changed files with 3 additions and 3 deletions
|
@ -81,7 +81,7 @@ when "config"
|
||||||
puts "graph_args --base 1024 -l 0"
|
puts "graph_args --base 1024 -l 0"
|
||||||
puts "graph_scale yes"
|
puts "graph_scale yes"
|
||||||
puts "graph_info Tracks the size of individual thin processes"
|
puts "graph_info Tracks the size of individual thin processes"
|
||||||
mpm.get_pids.sort.each do |instance|
|
mpm.get_pids.each do |instance|
|
||||||
pid, port = instance.split("|")
|
pid, port = instance.split("|")
|
||||||
puts "thin_#{port}.label thin_#{port}"
|
puts "thin_#{port}.label thin_#{port}"
|
||||||
puts "thin_#{port}.info Process memory"
|
puts "thin_#{port}.info Process memory"
|
||||||
|
|
|
@ -85,7 +85,7 @@ when "config"
|
||||||
puts "graph_args -l 0"
|
puts "graph_args -l 0"
|
||||||
puts "graph_scale yes"
|
puts "graph_scale yes"
|
||||||
puts "graph_info Tracks how many threads per thin processes"
|
puts "graph_info Tracks how many threads per thin processes"
|
||||||
mpm.get_pids.sort.each do |instance|
|
mpm.get_pids.each do |instance|
|
||||||
pid, port = instance.split("|")
|
pid, port = instance.split("|")
|
||||||
puts "thin_#{port}.label thin_#{port}"
|
puts "thin_#{port}.label thin_#{port}"
|
||||||
puts "thin_#{port}.info Threads per Thin process"
|
puts "thin_#{port}.info Threads per Thin process"
|
||||||
|
|
|
@ -83,7 +83,7 @@ when "config"
|
||||||
puts "graph_args -l 0"
|
puts "graph_args -l 0"
|
||||||
puts "graph_scale yes"
|
puts "graph_scale yes"
|
||||||
puts "graph_info Tracks the peak memory of thin processes, aka High Water Mark."
|
puts "graph_info Tracks the peak memory of thin processes, aka High Water Mark."
|
||||||
mpm.get_pids.sort.each do |instance|
|
mpm.get_pids.each do |instance|
|
||||||
pid, port = instance.split("|")
|
pid, port = instance.split("|")
|
||||||
puts "thin_#{port}.label thin_#{port}"
|
puts "thin_#{port}.label thin_#{port}"
|
||||||
puts "thin_#{port}.info Peak Memory"
|
puts "thin_#{port}.info Peak Memory"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue