diff options
Diffstat (limited to 'lib/oxidized/model/arbos.rb')
-rw-r--r-- | lib/oxidized/model/arbos.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/oxidized/model/arbos.rb b/lib/oxidized/model/arbos.rb index 51b269d..77de4c9 100644 --- a/lib/oxidized/model/arbos.rb +++ b/lib/oxidized/model/arbos.rb @@ -5,8 +5,8 @@ class ARBOS < Oxidized::Model comment '# ' cmd 'system hardware' do |cfg| - cfg.gsub! /^Boot\ time\:\s.+/, '' # Remove boot timer - cfg.gsub! /^Load\ averages\:\s.+/, '' # Remove CPU load info + cfg.gsub! /^Boot time:\s.+/, '' # Remove boot timer + cfg.gsub! /^Load averages:\s.+/, '' # Remove CPU load info cfg = cfg.each_line.to_a[2..-1].join comment cfg end |