From 5b13dae5be3e30c25fc4bf98d16bd4510d0d33f9 Mon Sep 17 00:00:00 2001 From: Dave Date: Tue, 6 Jun 2017 10:52:02 -0400 Subject: Adding More info Thought this might be useful to make as default. We use this The radius key part is extra :) --- lib/oxidized/model/procurve.rb | 9 +++++++++ 1 file changed, 9 insertions(+) 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 ' cfg.gsub! /^(snmp-server host).*/, '\\1 ' cfg.gsub! /^(radius-server host).*/, '\\1 ' + cfg.gsub! /^(radius-server key).*/, '\\1 ' 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") -- cgit v1.2.1