1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Fixing config / labels

This commit is contained in:
Thomas VIAL 2013-02-15 10:55:42 +01:00
parent c39b74e17e
commit f847a3a425
3 changed files with 14 additions and 11 deletions

View file

@ -83,7 +83,8 @@ when "config"
puts "graph_args -l 0"
puts "graph_scale yes"
puts "graph_info Tracks the peak memory of thin processes, aka High Water Mark."
mpm.get_pids.sort.each do |pid,port|
mpm.get_pids.sort.each do |instance|
pid, port = instance.split("|")
puts "thin_#{port}.label thin_#{port}"
puts "thin_#{port}.info Peak Memory"
puts "thin_#{port}.type GAUGE"