summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorDave <davama@gmail.com>2017-06-06 10:52:02 -0400
committerGitHub <noreply@github.com>2017-06-06 10:52:02 -0400
commit5b13dae5be3e30c25fc4bf98d16bd4510d0d33f9 (patch)
tree8aff80bf1f338dbca1391a42d6f1c52aa3da3995 /lib/oxidized/model
parentdc425ce5bc3143cf4b8322602d7b7521aca37134 (diff)
Adding More info
Thought this might be useful to make as default. We use this The radius key part is extra :)
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/procurve.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/oxidized/model/procurve.rb b/lib/oxidized/model/procurve.rb
index 7dcf1fd..457dd27 100644
--- a/lib/oxidized/model/procurve.rb
+++ b/lib/oxidized/model/procurve.rb
@@ -30,6 +30,7 @@ class Procurve < Oxidized::Model
cfg.gsub! /^(snmp-server community).*/, '\\1 <configuration removed>'
cfg.gsub! /^(snmp-server host).*/, '\\1 <configuration removed>'
cfg.gsub! /^(radius-server host).*/, '\\1 <configuration removed>'
+ cfg.gsub! /^(radius-server key).*/, '\\1 <configuration removed>'
cfg
end
@@ -37,6 +38,14 @@ class Procurve < Oxidized::Model
comment cfg
end
+ cmd 'show modules' do |cfg|
+ comment cfg
+ end
+
+ cmd 'show flash' do |cfg|
+ comment cfg
+ end
+
# not supported on all models
cmd 'show system-information' do |cfg|
cfg = cfg.split("\n")[0..-8].join("\n")