summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-06-14 22:06:33 +0200
committerGitHub <noreply@github.com>2018-06-14 22:06:33 +0200
commit38d5893b83d0a9cf798813d32e27233615e5fb56 (patch)
tree402e49347ba1ed96531791c89b133a822155d3af
parent8534b50c822b8c7e0b2974ede2e28ae352d4b269 (diff)
scrub temperature from 'show system' in edgecos, closes #1394 (#1399)
-rw-r--r--CHANGELOG.md6
-rw-r--r--lib/oxidized/model/edgecos.rb1
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4d0afa6..0aa75da 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
# Changelog
-## 024.0
+## Master
+
+* BUGFIX: model edgecos
+
+## 0.24.0
* FEATURE: add frr support to cumulus model (@User4574 / @bobthebutcher)
* FEATURE: honour MAX_STAT in mtime, to store last N mtime
diff --git a/lib/oxidized/model/edgecos.rb b/lib/oxidized/model/edgecos.rb
index e92686c..8c69d71 100644
--- a/lib/oxidized/model/edgecos.rb
+++ b/lib/oxidized/model/edgecos.rb
@@ -15,6 +15,7 @@ class EdgeCOS < Oxidized::Model
cmd 'show system' do |cfg|
cfg.gsub! /^\s*System Up Time\s*:.*\n/i, ''
+ cfg.gsub! /^\s*(Temperature \d*:).*\n/i, '\\1 <removed>'
comment cfg
end