From 75aab599eec298072a15b88a223c8a955c5c5fa6 Mon Sep 17 00:00:00 2001 From: Alan Gregory Date: Mon, 25 May 2015 11:37:43 -0300 Subject: [PATCH] Changed Mib to Numeric OID on cpu discovery --- includes/discovery/processors/fiberhome.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/discovery/processors/fiberhome.inc.php b/includes/discovery/processors/fiberhome.inc.php index ec9b554ea..b87ba0b89 100644 --- a/includes/discovery/processors/fiberhome.inc.php +++ b/includes/discovery/processors/fiberhome.inc.php @@ -11,10 +11,10 @@ if ($device['os'] == "fiberhome") { $card2Status = snmp_get($device, "mgrCardWorkStatus.10", "-Ovq", "GEPON-OLT-COMMON-MIB"); if($card1Status == '1'){ $usage = snmp_get($device, "mgrCardCpuUtil.9", "-Ovq", "GEPON-OLT-COMMON-MIB"); - discover_processor($valid['processor'], $device, "GEPON-OLT-COMMON-MIB::mgrCardCpuUtil.9", "0", "fiberhome", "Hswa 9 Processor", "100", $usage/100, NULL, NULL); + discover_processor($valid['processor'], $device, "1.3.6.1.4.1.5875.800.3.9.8.1.1.5.9", "0", "fiberhome", "Hswa 9 Processor", "100", $usage/100, NULL, NULL); }; if($card2Status == '1'){ $usage = snmp_get($device, "mgrCardCpuUtil.10", "-Ovq", "GEPON-OLT-COMMON-MIB"); - discover_processor($valid['processor'], $device, "GEPON-OLT-COMMON-MIB::mgrCardCpuUtil.10", "1", "fiberhome", "Hswa 10 Processor", "100", $usage/100, NULL, NULL); + discover_processor($valid['processor'], $device, "1.3.6.1.4.1.5875.800.3.9.8.1.1.5.10", "1", "fiberhome", "Hswa 10 Processor", "100", $usage/100, NULL, NULL); }; }