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(+) (limited to 'lib/oxidized/model/procurve.rb') 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 From 6ee139fdd44d4a98ee6b36487c76851d77e6d034 Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 29 Jun 2017 14:56:00 -0400 Subject: Adding transceiver info --- lib/oxidized/model/procurve.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/oxidized/model/procurve.rb') diff --git a/lib/oxidized/model/procurve.rb b/lib/oxidized/model/procurve.rb index 457dd27..180b703 100644 --- a/lib/oxidized/model/procurve.rb +++ b/lib/oxidized/model/procurve.rb @@ -42,6 +42,10 @@ class Procurve < Oxidized::Model comment cfg end + cmd 'show interfaces transceiver' do |cfg| + comment cfg + end + cmd 'show flash' do |cfg| comment cfg end -- cgit v1.2.1