From 15e9e7dba6c3f38df1f5d65d76d86224e4f68516 Mon Sep 17 00:00:00 2001 From: Rosiak Date: Wed, 29 Jul 2015 10:16:13 +0200 Subject: [PATCH] fix issue-1559 --- includes/discovery/current/apc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/discovery/current/apc.inc.php b/includes/discovery/current/apc.inc.php index 914592b44a..e57f266404 100644 --- a/includes/discovery/current/apc.inc.php +++ b/includes/discovery/current/apc.inc.php @@ -60,7 +60,7 @@ if ($device['os'] == 'apc') { unset($oids); // v2 firmware- first bank is total, v3 firmware, 3rd bank is total - $oids = snmp_walk($device, 'rPDULoadBankConfigIndex', '-OsqnU', 'PowerNet-MIB'); + $oids = snmp_walk($device, 'rPDULoadStatusIndex', '-OsqnU', 'PowerNet-MIB'); // should work with firmware v2 and v3 if ($oids) { echo 'APC PowerNet-MIB Banks ';