diff --git a/includes/discovery/sensors/current/ict-pdu.inc.php b/includes/discovery/sensors/current/ict-pdu.inc.php index 129169820b..a8a9d05d95 100644 --- a/includes/discovery/sensors/current/ict-pdu.inc.php +++ b/includes/discovery/sensors/current/ict-pdu.inc.php @@ -24,7 +24,7 @@ */ // Output Current -$oids = snmpwalk_cache_oid($device, 'outputEntry', array(), 'ICT-MIB'); +$oids = snmpwalk_cache_oid($device, 'outputEntry', array(), 'ICT-DISTRIBUTION-PANEL-MIB'); foreach ($oids as $index => $entry) { $output_number = (int)$entry['outputNumber'] + 1; @@ -43,7 +43,7 @@ foreach ($oids as $index => $entry) { } // System Current -$systemCurrent = trim(snmp_get($device, 'systemCurrent.0', '-Oqv', 'ICT-MIB'), '" '); +$systemCurrent = trim(snmp_get($device, 'systemCurrent.0', '-Oqv', 'ICT-DISTRIBUTION-PANEL-MIB'), '" '); if (!empty($systemCurrent)) { $divisor = 1; $index = '7.0'; diff --git a/includes/discovery/sensors/current/ict-psu.inc.php b/includes/discovery/sensors/current/ict-psu.inc.php index 353277e1c9..2feb327c54 100644 --- a/includes/discovery/sensors/current/ict-psu.inc.php +++ b/includes/discovery/sensors/current/ict-psu.inc.php @@ -26,7 +26,7 @@ // Output Current // SNMPv2-SMI::enterprises.39145.11.8.0 = STRING: "0.4" -- outputCurrent -$outputCurrent = trim(snmp_get($device, 'outputCurrent.0', '-Oqv', 'ICT-MIB'), '" '); +$outputCurrent = trim(snmp_get($device, 'outputCurrent.0', '-Oqv', 'ICT-DIGITAL-SERIES-MIB'), '" '); if (!empty($outputCurrent)) { $divisor = 1; $index = 0; diff --git a/includes/discovery/sensors/state/ict-pdu.inc.php b/includes/discovery/sensors/state/ict-pdu.inc.php index 9f63b629ed..2b178f6f83 100644 --- a/includes/discovery/sensors/state/ict-pdu.inc.php +++ b/includes/discovery/sensors/state/ict-pdu.inc.php @@ -23,7 +23,7 @@ * @author Lorenzo Zafra */ -$oids = snmpwalk_cache_oid($device, 'outputEntry', array(), 'ICT-MIB'); +$oids = snmpwalk_cache_oid($device, 'outputEntry', array(), 'ICT-DISTRIBUTION-PANEL-MIB'); if (is_array($oids)) { $state_name = 'outputFuseStatus'; diff --git a/includes/discovery/sensors/voltage/ict-pdu.inc.php b/includes/discovery/sensors/voltage/ict-pdu.inc.php index 7f783e6e94..3e863cb73a 100644 --- a/includes/discovery/sensors/voltage/ict-pdu.inc.php +++ b/includes/discovery/sensors/voltage/ict-pdu.inc.php @@ -24,7 +24,7 @@ */ // System Voltage -$systemVoltage = trim(snmp_get($device, 'systemVoltage.0', '-Oqv', 'ICT-MIB'), '" '); +$systemVoltage = trim(snmp_get($device, 'systemVoltage.0', '-Oqv', 'ICT-DISTRIBUTION-PANEL-MIB'), '" '); if (!empty($systemVoltage)) { $divisor = 1; diff --git a/includes/discovery/sensors/voltage/ict-psu.inc.php b/includes/discovery/sensors/voltage/ict-psu.inc.php index c9de62756d..31286b579a 100644 --- a/includes/discovery/sensors/voltage/ict-psu.inc.php +++ b/includes/discovery/sensors/voltage/ict-psu.inc.php @@ -26,7 +26,7 @@ // Input Voltage // SNMPv2-SMI::enterprises.39145.11.6.0 = STRING: "120" -- inputVoltage -$inputVoltage = trim(snmp_get($device, 'inputVoltage.0', '-Oqv', 'ICT-MIB'), '" '); +$inputVoltage = trim(snmp_get($device, 'inputVoltage.0', '-Oqv', 'ICT-DIGITAL-SERIES-MIB'), '" '); if (!empty($inputVoltage)) { $divisor = 1; $index = 0; @@ -41,7 +41,7 @@ if (!empty($inputVoltage)) { // Output Voltage // SNMPv2-SMI::enterprises.39145.11.7.0 = STRING: "55.2" -- outputVoltage -$outputVoltage = trim(snmp_get($device, 'outputVoltage.0', '-Oqv', 'ICT-MIB'), '" '); +$outputVoltage = trim(snmp_get($device, 'outputVoltage.0', '-Oqv', 'ICT-DIGITAL-SERIES-MIB'), '" '); if (!empty($outputVoltage)) { $divisor = 1; $index = 1; diff --git a/mibs/ict/ICT-DIGITAL-SERIES-MIB b/mibs/ict/ICT-DIGITAL-SERIES-MIB index b4f335ee01..efd6937ac5 100644 --- a/mibs/ict/ICT-DIGITAL-SERIES-MIB +++ b/mibs/ict/ICT-DIGITAL-SERIES-MIB @@ -4,8 +4,9 @@ -- ============================= -- 10/4/12 v1.00 -- +-- Renamed from ICT-MIB to ICT-DIGITAL-SERIES-MIB -ICT-MIB DEFINITIONS ::= BEGIN +ICT-DIGITAL-SERIES-MIB DEFINITIONS ::= BEGIN IMPORTS enterprises, IpAddress FROM RFC1155-SMI @@ -81,4 +82,4 @@ outputEnable OBJECT-TYPE ::= { digitalSeries 9 } -END \ No newline at end of file +END diff --git a/mibs/ict/ICT-DISTRIBUTION-PANEL-MIB b/mibs/ict/ICT-DISTRIBUTION-PANEL-MIB index 0b93a052da..20bb6d4248 100644 --- a/mibs/ict/ICT-DISTRIBUTION-PANEL-MIB +++ b/mibs/ict/ICT-DISTRIBUTION-PANEL-MIB @@ -4,8 +4,9 @@ -- ============================= -- 9/5/13 1.01 -- +-- Renamed from ICT-MIB to ICT-DISTRIBUTION-PANEL-MIB -ICT-MIB DEFINITIONS ::= BEGIN +ICT-DISTRIBUTION-PANEL-MIB DEFINITIONS ::= BEGIN IMPORTS enterprises, IpAddress FROM RFC1155-SMI