From 1fd3180a21228c0bfa49a9de9c7c7ee3ab151d2d Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Thu, 11 Jun 2015 18:41:23 +0200 Subject: [PATCH] + Enhance hardware h3c plugin --- network/h3c/snmp/mode/components/default.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/network/h3c/snmp/mode/components/default.pm b/network/h3c/snmp/mode/components/default.pm index d5ded0e09..e862a8eeb 100644 --- a/network/h3c/snmp/mode/components/default.pm +++ b/network/h3c/snmp/mode/components/default.pm @@ -41,7 +41,20 @@ use warnings; my %map_default_status = ( 1 => 'notSupported', 2 => 'normal', + 3 => 'postFailure', 4 => 'entityAbsent', + 11 => 'poeError', + 21 => 'stackError', + 22 => 'stackPortBlocked', + 23 => 'stackPortFailed', + 31 => 'sfpRecvError', + 32 => 'sfpSendError', + 33 => 'sfpBothError', + 41 => 'fanError', + 51 => 'psuError', + 61 => 'rpsError(', + 71 => 'moduleFaulty', + 81 => 'sensorError', 91 => 'hardwareFaulty', );