mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 22:25:23 +00:00
This version supports a rails_root environment variable.
This commit is contained in:
parent
197e093c66
commit
6eebc57166
1 changed files with 1 additions and 1 deletions
|
@ -75,6 +75,6 @@ when "config"
|
|||
puts "total_memory.label total_memory"
|
||||
puts "total_memory.draw LINE2"
|
||||
else
|
||||
m = Munin::UnicornMemoryStatus.new(RAILS_ROOT)
|
||||
m = Munin::UnicornMemoryStatus.new(ENV['rails_root'] || RAILS_ROOT)
|
||||
puts "total_memory.value #{m.total_memory}"
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue