From a9e5eed60b687b4a488eb1d11b5147e9f932c6fa Mon Sep 17 00:00:00 2001 From: Dave Date: Sat, 10 Feb 2018 17:10:23 -0500 Subject: mode: Procurve model add show commands (#1176) Sanitized output: ``` Power Supply Status: PS# Model State AC/DC + V Wattage ---- --------- ------------- ----------------- --------- 1 Unknwn Powered AC 220V 1500 2 Unknwn Powered AC 220V 1500 2 / 2 supply bays delivering power. Total power: 3000 W ``` Of course you see `unknwn` but that is addressed in latest firmware release. Thanks! --- lib/oxidized/model/procurve.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/oxidized/model/procurve.rb b/lib/oxidized/model/procurve.rb index 11d7ea9..444fb5b 100644 --- a/lib/oxidized/model/procurve.rb +++ b/lib/oxidized/model/procurve.rb @@ -47,6 +47,10 @@ class Procurve < Oxidized::Model comment cfg end + cmd 'show system power-supply' do |cfg| + comment cfg + end + cmd 'show interfaces transceiver' do |cfg| comment cfg end -- cgit v1.2.1