From 7c0103a7bda3b8d621cc3238d2c41ecd3fe99f8d Mon Sep 17 00:00:00 2001 From: rudybroersma Date: Thu, 21 Dec 2023 21:30:53 +0100 Subject: [PATCH] device - Add Cisco REP Segment state sensor (#15666) * Update cisco.inc.php - Add REP Segment state sensor * Create ios_cisco.snmprec * JSON files for REP support test data * Rename to IE2000 and add matchin JSON --------- Co-authored-by: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com> --- .../discovery/sensors/state/cisco.inc.php | 44 +- tests/data/ios_2960x.json | 36 +- tests/data/ios_ie2000.json | 975 ++++++++++++++++++ tests/data/ios_stp-vlans.json | 12 +- tests/snmpsim/ios_ie2000.snmprec | 37 + 5 files changed, 1063 insertions(+), 41 deletions(-) create mode 100644 tests/data/ios_ie2000.json create mode 100644 tests/snmpsim/ios_ie2000.snmprec diff --git a/includes/discovery/sensors/state/cisco.inc.php b/includes/discovery/sensors/state/cisco.inc.php index f864a6a045..fc7322f28b 100644 --- a/includes/discovery/sensors/state/cisco.inc.php +++ b/includes/discovery/sensors/state/cisco.inc.php @@ -14,23 +14,24 @@ $role_data = snmpwalk_cache_oid($device, 'cswSwitchRole', [], 'CISCO-STACKWISE-M $redundant_data = snmp_get($device, 'cswRingRedundant.0', '-OQv', 'CISCO-STACKWISE-MIB'); $tables = [ - ['num_oid' => '.1.3.6.1.4.1.9.9.661.1.3.1.1.6.', 'oid' => 'c3gModemStatus', 'state_name' => 'c3gModemStatus', 'mib' => 'CISCO-WAN-3G-MIB', 'descr' => 'Modem status'], - ['num_oid' => '.1.3.6.1.4.1.9.9.661.1.3.4.1.1.3.', 'oid' => 'c3gGsmCurrentBand', 'state_name' => 'c3gGsmCurrentBand', 'mib' => 'CISCO-WAN-3G-MIB', 'descr' => 'Current band'], - ['num_oid' => '.1.3.6.1.4.1.9.9.661.1.3.2.1.5.', 'oid' => 'c3gGsmPacketService', 'state_name' => 'c3gGsmPacketService', 'mib' => 'CISCO-WAN-3G-MIB', 'descr' => 'Packet service'], - ['num_oid' => '.1.3.6.1.4.1.9.9.661.1.3.2.1.6.', 'oid' => 'c3gGsmCurrentRoamingStatus', 'state_name' => 'c3gGsmCurrentRoamingStatus', 'mib' => 'CISCO-WAN-3G-MIB', 'descr' => 'Roaming status'], - ['num_oid' => '.1.3.6.1.4.1.9.9.661.1.3.5.1.1.2.', 'oid' => 'c3gGsmSimStatus', 'state_name' => 'c3gGsmSimStatus', 'mib' => 'CISCO-WAN-3G-MIB', 'descr' => 'SIM status'], - ['num_oid' => '.1.3.6.1.4.1.9.9.13.1.2.1.7.', 'oid' => 'ciscoEnvMonVoltageStatusTable', 'state_name' => 'ciscoEnvMonVoltageState', 'mib' => 'CISCO-ENVMON-MIB', 'descr' => 'ciscoEnvMonVoltageStatusDescr'], - ['num_oid' => '.1.3.6.1.4.1.9.9.13.1.3.1.6.', 'oid' => 'ciscoEnvMonTemperatureStatusTable', 'state_name' => 'ciscoEnvMonTemperatureState', 'mib' => 'CISCO-ENVMON-MIB', 'descr' => 'ciscoEnvMonTemperatureStatusDescr'], - ['num_oid' => '.1.3.6.1.4.1.9.9.13.1.4.1.3.', 'oid' => 'ciscoEnvMonFanStatusTable', 'state_name' => 'ciscoEnvMonFanState', 'mib' => 'CISCO-ENVMON-MIB', 'descr' => 'ciscoEnvMonFanStatusDescr'], - ['num_oid' => '.1.3.6.1.4.1.9.9.13.1.5.1.3.', 'oid' => 'ciscoEnvMonSupplyStatusTable', 'state_name' => 'ciscoEnvMonSupplyState', 'mib' => 'CISCO-ENVMON-MIB', 'descr' => 'ciscoEnvMonSupplyStatusDescr'], - ['num_oid' => '.1.3.6.1.4.1.9.9.117.1.1.2.1.2.', 'oid' => 'cefcFRUPowerStatusTable', 'state_name' => 'cefcFRUPowerOperStatus', 'mib' => 'CISCO-ENTITY-FRU-CONTROL-MIB', 'descr' => 'Sensor Name'], - ['num_oid' => '.1.3.6.1.4.1.9.9.176.1.1.2.', 'oid' => 'cRFStatusUnitState', 'state_name' => 'cRFStatusUnitState', 'mib' => 'CISCO-RF-MIB', 'descr' => 'VSS Device State'], - ['num_oid' => '.1.3.6.1.4.1.9.9.176.1.1.4.', 'oid' => 'cRFStatusPeerUnitState', 'state_name' => 'cRFStatusPeerUnitState', 'mib' => 'CISCO-RF-MIB', 'descr' => 'VSS Peer State'], - ['num_oid' => '.1.3.6.1.4.1.9.9.176.1.2.14.', 'oid' => 'cRFCfgRedundancyOperMode', 'state_name' => 'cRFCfgRedundancyOperMode', 'mib' => 'CISCO-RF-MIB', 'descr' => 'VSS Mode'], - ['num_oid' => '.1.3.6.1.4.1.9.9.500.1.1.3.', 'oid' => 'cswGlobals', 'state_name' => 'cswRingRedundant', 'mib' => 'CISCO-STACKWISE-MIB', 'descr' => 'Stack Ring - Redundant'], - ['num_oid' => '.1.3.6.1.4.1.9.9.500.1.2.1.1.3.', 'oid' => 'cswSwitchRole', 'state_name' => 'cswSwitchRole', 'mib' => 'CISCO-STACKWISE-MIB', 'descr' => 'Stack Role - Switch#'], - ['num_oid' => '.1.3.6.1.4.1.9.9.500.1.2.1.1.6.', 'oid' => 'cswSwitchState', 'state_name' => 'cswSwitchState', 'mib' => 'CISCO-STACKWISE-MIB', 'descr' => 'Stack State - Switch#'], - ['num_oid' => '.1.3.6.1.4.1.9.9.500.1.2.2.1.1.', 'oid' => 'cswStackPortOperStatus', 'state_name' => 'cswStackPortOperStatus', 'mib' => 'CISCO-STACKWISE-MIB', 'descr' => 'Stack Port Status - '], + ['num_oid' => '.1.3.6.1.4.1.9.9.661.1.3.1.1.6.', 'oid' => 'c3gModemStatus', 'state_name' => 'c3gModemStatus', 'mib' => 'CISCO-WAN-3G-MIB', 'descr' => 'Modem status'], + ['num_oid' => '.1.3.6.1.4.1.9.9.661.1.3.4.1.1.3.', 'oid' => 'c3gGsmCurrentBand', 'state_name' => 'c3gGsmCurrentBand', 'mib' => 'CISCO-WAN-3G-MIB', 'descr' => 'Current band'], + ['num_oid' => '.1.3.6.1.4.1.9.9.661.1.3.2.1.5.', 'oid' => 'c3gGsmPacketService', 'state_name' => 'c3gGsmPacketService', 'mib' => 'CISCO-WAN-3G-MIB', 'descr' => 'Packet service'], + ['num_oid' => '.1.3.6.1.4.1.9.9.661.1.3.2.1.6.', 'oid' => 'c3gGsmCurrentRoamingStatus', 'state_name' => 'c3gGsmCurrentRoamingStatus', 'mib' => 'CISCO-WAN-3G-MIB', 'descr' => 'Roaming status'], + ['num_oid' => '.1.3.6.1.4.1.9.9.661.1.3.5.1.1.2.', 'oid' => 'c3gGsmSimStatus', 'state_name' => 'c3gGsmSimStatus', 'mib' => 'CISCO-WAN-3G-MIB', 'descr' => 'SIM status'], + ['num_oid' => '.1.3.6.1.4.1.9.9.13.1.2.1.7.', 'oid' => 'ciscoEnvMonVoltageStatusTable', 'state_name' => 'ciscoEnvMonVoltageState', 'mib' => 'CISCO-ENVMON-MIB', 'descr' => 'ciscoEnvMonVoltageStatusDescr'], + ['num_oid' => '.1.3.6.1.4.1.9.9.13.1.3.1.6.', 'oid' => 'ciscoEnvMonTemperatureStatusTable', 'state_name' => 'ciscoEnvMonTemperatureState', 'mib' => 'CISCO-ENVMON-MIB', 'descr' => 'ciscoEnvMonTemperatureStatusDescr'], + ['num_oid' => '.1.3.6.1.4.1.9.9.13.1.4.1.3.', 'oid' => 'ciscoEnvMonFanStatusTable', 'state_name' => 'ciscoEnvMonFanState', 'mib' => 'CISCO-ENVMON-MIB', 'descr' => 'ciscoEnvMonFanStatusDescr'], + ['num_oid' => '.1.3.6.1.4.1.9.9.13.1.5.1.3.', 'oid' => 'ciscoEnvMonSupplyStatusTable', 'state_name' => 'ciscoEnvMonSupplyState', 'mib' => 'CISCO-ENVMON-MIB', 'descr' => 'ciscoEnvMonSupplyStatusDescr'], + ['num_oid' => '.1.3.6.1.4.1.9.9.117.1.1.2.1.2.', 'oid' => 'cefcFRUPowerStatusTable', 'state_name' => 'cefcFRUPowerOperStatus', 'mib' => 'CISCO-ENTITY-FRU-CONTROL-MIB', 'descr' => 'Sensor Name'], + ['num_oid' => '.1.3.6.1.4.1.9.9.176.1.1.2.', 'oid' => 'cRFStatusUnitState', 'state_name' => 'cRFStatusUnitState', 'mib' => 'CISCO-RF-MIB', 'descr' => 'VSS Device State'], + ['num_oid' => '.1.3.6.1.4.1.9.9.176.1.1.4.', 'oid' => 'cRFStatusPeerUnitState', 'state_name' => 'cRFStatusPeerUnitState', 'mib' => 'CISCO-RF-MIB', 'descr' => 'VSS Peer State'], + ['num_oid' => '.1.3.6.1.4.1.9.9.176.1.2.14.', 'oid' => 'cRFCfgRedundancyOperMode', 'state_name' => 'cRFCfgRedundancyOperMode', 'mib' => 'CISCO-RF-MIB', 'descr' => 'VSS Mode'], + ['num_oid' => '.1.3.6.1.4.1.9.9.500.1.1.3.', 'oid' => 'cswGlobals', 'state_name' => 'cswRingRedundant', 'mib' => 'CISCO-STACKWISE-MIB', 'descr' => 'Stack Ring - Redundant'], + ['num_oid' => '.1.3.6.1.4.1.9.9.500.1.2.1.1.3.', 'oid' => 'cswSwitchRole', 'state_name' => 'cswSwitchRole', 'mib' => 'CISCO-STACKWISE-MIB', 'descr' => 'Stack Role - Switch#'], + ['num_oid' => '.1.3.6.1.4.1.9.9.500.1.2.1.1.6.', 'oid' => 'cswSwitchState', 'state_name' => 'cswSwitchState', 'mib' => 'CISCO-STACKWISE-MIB', 'descr' => 'Stack State - Switch#'], + ['num_oid' => '.1.3.6.1.4.1.9.9.500.1.2.2.1.1.', 'oid' => 'cswStackPortOperStatus', 'state_name' => 'cswStackPortOperStatus', 'mib' => 'CISCO-STACKWISE-MIB', 'descr' => 'Stack Port Status - '], + ['num_oid' => '.1.3.6.1.4.1.9.9.601.1.3.1.1.4.', 'oid' => 'crepSegmentComplete', 'state_name' => 'crepSegmentComplete', 'mib' => 'CISCO-RESILIENT-ETHERNET-PROTOCOL-MIB', 'descr' => 'REP State - Segment '], ]; foreach ($tables as $tablevalue) { @@ -179,6 +180,12 @@ foreach ($tables as $tablevalue) { ['value' => 12, 'generic' => 2, 'graph' => 0, 'descr' => 'mepLocked'], ['value' => 13, 'generic' => 2, 'graph' => 0, 'descr' => 'networkRejected'], ]; + } elseif ($state_name == 'crepSegmentComplete') { + $states = [ + ['value' => 0, 'generic' => 3, 'graph' => 0, 'descr' => 'unknown'], + ['value' => 1, 'generic' => 0, 'graph' => 0, 'descr' => 'complete'], + ['value' => 2, 'generic' => 2, 'graph' => 0, 'descr' => 'incomplete'], + ]; } else { $states = [ ['value' => 1, 'generic' => 0, 'graph' => 0, 'descr' => 'normal'], @@ -214,6 +221,9 @@ foreach ($tables as $tablevalue) { } elseif ($state_name == 'c3gModemStatus' || $state_name == 'c3gGsmCurrentBand' || $state_name == 'c3gGsmPacketService' || $state_name == 'c3gGsmCurrentRoamingStatus' || $state_name == 'c3gGsmSimStatus') { $descr = $tablevalue['descr']; $state_group = snmp_get($device, 'entPhysicalName.' . $index, '-Oqv', 'ENTITY-MIB'); + } elseif ($state_name == 'crepSegmentComplete') { + $repsegmentnumber++; + $descr = $tablevalue['descr'] . $repsegmentnumber; } discover_sensor($valid['sensor'], 'state', $device, $cur_oid . $index, $index, $state_name, trim($descr), 1, 1, null, null, null, null, $temp[$index][$tablevalue['state_name']], 'snmp', $index, null, null, $state_group); diff --git a/tests/data/ios_2960x.json b/tests/data/ios_2960x.json index 11c58ec75a..32b73fe881 100644 --- a/tests/data/ios_2960x.json +++ b/tests/data/ios_2960x.json @@ -14937,8 +14937,8 @@ "ifName": "StackPort1", "portName": null, "ifIndex": 5179, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "false", "ifOperStatus": "up", "ifOperStatus_prev": "up", @@ -15037,8 +15037,8 @@ "ifName": "StackSub-St1-1", "portName": null, "ifIndex": 5180, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "true", "ifOperStatus": "up", "ifOperStatus_prev": "up", @@ -15137,8 +15137,8 @@ "ifName": "StackSub-St1-2", "portName": null, "ifIndex": 5181, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "true", "ifOperStatus": "up", "ifOperStatus_prev": "up", @@ -15237,8 +15237,8 @@ "ifName": "StackPort2", "portName": null, "ifIndex": 5182, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "false", "ifOperStatus": "up", "ifOperStatus_prev": "up", @@ -15337,8 +15337,8 @@ "ifName": "StackSub-St2-1", "portName": null, "ifIndex": 5183, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "true", "ifOperStatus": "up", "ifOperStatus_prev": "up", @@ -15437,8 +15437,8 @@ "ifName": "StackSub-St2-2", "portName": null, "ifIndex": 5184, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "true", "ifOperStatus": "up", "ifOperStatus_prev": "up", @@ -15537,8 +15537,8 @@ "ifName": "StackPort3", "portName": null, "ifIndex": 5185, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "false", "ifOperStatus": "up", "ifOperStatus_prev": "up", @@ -15637,8 +15637,8 @@ "ifName": "StackSub-St3-1", "portName": null, "ifIndex": 5186, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "true", "ifOperStatus": "up", "ifOperStatus_prev": "up", @@ -15737,8 +15737,8 @@ "ifName": "StackSub-St3-2", "portName": null, "ifIndex": 5187, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "true", "ifOperStatus": "up", "ifOperStatus_prev": "up", diff --git a/tests/data/ios_ie2000.json b/tests/data/ios_ie2000.json new file mode 100644 index 0000000000..39b4fbd8a0 --- /dev/null +++ b/tests/data/ios_ie2000.json @@ -0,0 +1,975 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": null, + "sysObjectID": ".1.3.6.1.4.1.9.1.1473", + "sysDescr": "Cisco IOS Software, IE2000 Software (IE2000-UNIVERSALK9-M), Version 15.2(7)E2, RELEASE SOFTWARE (fc3)\nTechnical Support: http://www.cisco.com/techsupport\r\nCopyright (c) 1986-2020 by Cisco Systems, Inc.\r\nCompiled Sun 15-Mar-20 06:31 by prod_rel_team", + "sysContact": null, + "version": "15.2(7)E2", + "hardware": "ciscoIE20008TCG", + "features": "UNIVERSALK9", + "location": null, + "os": "ios", + "type": "network", + "serial": null, + "icon": "cisco.svg" + } + ] + }, + "poller": "matches discovery" + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "count", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.402.1.4.1.0", + "sensor_index": "0", + "sensor_type": "ios", + "sensor_descr": "PoE Devices Connected", + "group": "PoE", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.117.1.2.1.1.2.1007", + "sensor_index": "cefcModuleOperStatus.1007", + "sensor_type": "cefcModuleOperStatus", + "sensor_descr": "Operating Status -", + "group": "Module Operating Status", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1007", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "cefcModuleOperStatus" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.13.1.5.1.3.1004", + "sensor_index": "1004", + "sensor_type": "ciscoEnvMonSupplyState", + "sensor_descr": "Sw1, PSA Normal", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1004", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "ciscoEnvMonSupplyState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.13.1.5.1.3.1005", + "sensor_index": "1005", + "sensor_type": "ciscoEnvMonSupplyState", + "sensor_descr": "Sw1, PSB Faulty", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1005", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "ciscoEnvMonSupplyState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.13.1.3.1.6.1006", + "sensor_index": "1006", + "sensor_type": "ciscoEnvMonTemperatureState", + "sensor_descr": "SW#1, Sensor#1, GREEN", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1006", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "ciscoEnvMonTemperatureState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.601.1.3.1.1.4.1", + "sensor_index": "1", + "sensor_type": "crepSegmentComplete", + "sensor_descr": "REP State - Segment 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "crepSegmentComplete" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.13.1.3.1.3.1006", + "sensor_index": "1006", + "sensor_type": "cisco", + "sensor_descr": "SW#1, Sensor#1, GREEN", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 46, + "sensor_limit": 89, + "sensor_limit_warn": null, + "sensor_limit_low": 36, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1006", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "cefcModuleOperStatus", + "state_descr": "unknown", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 3 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "ok", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 0 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "disabled", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 0 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "okButDiagFailed", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "boot", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "selfTest", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "failed", + "state_draw_graph": 0, + "state_value": 7, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "missing", + "state_draw_graph": 0, + "state_value": 8, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "mismatchWithParent", + "state_draw_graph": 0, + "state_value": 9, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "mismatchConfig", + "state_draw_graph": 0, + "state_value": 10, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "diagFailed", + "state_draw_graph": 0, + "state_value": 11, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "dormant", + "state_draw_graph": 0, + "state_value": 12, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "outOfServiceAdmin", + "state_draw_graph": 0, + "state_value": 13, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "outOfServiceEnvTemp", + "state_draw_graph": 0, + "state_value": 14, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "poweredDown", + "state_draw_graph": 0, + "state_value": 15, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "poweredUp", + "state_draw_graph": 0, + "state_value": 16, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "powerDenied", + "state_draw_graph": 0, + "state_value": 17, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "powerCycled", + "state_draw_graph": 0, + "state_value": 18, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "okButPowerOverWarning", + "state_draw_graph": 0, + "state_value": 19, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "okButPowerOverCritical", + "state_draw_graph": 0, + "state_value": 20, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "syncInProgress", + "state_draw_graph": 0, + "state_value": 21, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "upgrading", + "state_draw_graph": 0, + "state_value": 22, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "okButAuthFailed", + "state_draw_graph": 0, + "state_value": 23, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "mdr", + "state_draw_graph": 0, + "state_value": 24, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "fwMismatchFound", + "state_draw_graph": 0, + "state_value": 25, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "fwDownloadSuccess", + "state_draw_graph": 0, + "state_value": 26, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "fwDownloadFailure", + "state_draw_graph": 0, + "state_value": 27, + "state_generic_value": 2 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "warning", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 1 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "critical", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "shutdown", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 3 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "notPresent", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 3 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "notFunctioning", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 2 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "warning", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 1 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "critical", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "shutdown", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 3 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "notPresent", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 3 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "notFunctioning", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 2 + }, + { + "state_name": "crepSegmentComplete", + "state_descr": "unknown", + "state_draw_graph": 0, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "crepSegmentComplete", + "state_descr": "complete", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "crepSegmentComplete", + "state_descr": "incomplete", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + } + ] + }, + "poller": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "count", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.402.1.4.1.0", + "sensor_index": "0", + "sensor_type": "ios", + "sensor_descr": "PoE Devices Connected", + "group": "PoE", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.117.1.2.1.1.2.1007", + "sensor_index": "cefcModuleOperStatus.1007", + "sensor_type": "cefcModuleOperStatus", + "sensor_descr": "Operating Status -", + "group": "Module Operating Status", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1007", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "cefcModuleOperStatus" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.13.1.5.1.3.1004", + "sensor_index": "1004", + "sensor_type": "ciscoEnvMonSupplyState", + "sensor_descr": "Sw1, PSA Normal", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1004", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "ciscoEnvMonSupplyState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.13.1.5.1.3.1005", + "sensor_index": "1005", + "sensor_type": "ciscoEnvMonSupplyState", + "sensor_descr": "Sw1, PSB Faulty", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 6, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1005", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "ciscoEnvMonSupplyState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.13.1.3.1.6.1006", + "sensor_index": "1006", + "sensor_type": "ciscoEnvMonTemperatureState", + "sensor_descr": "SW#1, Sensor#1, GREEN", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1006", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "ciscoEnvMonTemperatureState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.601.1.3.1.1.4.1", + "sensor_index": "1", + "sensor_type": "crepSegmentComplete", + "sensor_descr": "REP State - Segment 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1", + "entPhysicalIndex_measured": null, + "sensor_prev": 0, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "crepSegmentComplete" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.9.9.13.1.3.1.3.1006", + "sensor_index": "1006", + "sensor_type": "cisco", + "sensor_descr": "SW#1, Sensor#1, GREEN", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 46, + "sensor_limit": 89, + "sensor_limit_warn": null, + "sensor_limit_low": 36, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "1006", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "cefcModuleOperStatus", + "state_descr": "unknown", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 3 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "ok", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 0 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "disabled", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 0 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "okButDiagFailed", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "boot", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "selfTest", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "failed", + "state_draw_graph": 0, + "state_value": 7, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "missing", + "state_draw_graph": 0, + "state_value": 8, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "mismatchWithParent", + "state_draw_graph": 0, + "state_value": 9, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "mismatchConfig", + "state_draw_graph": 0, + "state_value": 10, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "diagFailed", + "state_draw_graph": 0, + "state_value": 11, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "dormant", + "state_draw_graph": 0, + "state_value": 12, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "outOfServiceAdmin", + "state_draw_graph": 0, + "state_value": 13, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "outOfServiceEnvTemp", + "state_draw_graph": 0, + "state_value": 14, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "poweredDown", + "state_draw_graph": 0, + "state_value": 15, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "poweredUp", + "state_draw_graph": 0, + "state_value": 16, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "powerDenied", + "state_draw_graph": 0, + "state_value": 17, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "powerCycled", + "state_draw_graph": 0, + "state_value": 18, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "okButPowerOverWarning", + "state_draw_graph": 0, + "state_value": 19, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "okButPowerOverCritical", + "state_draw_graph": 0, + "state_value": 20, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "syncInProgress", + "state_draw_graph": 0, + "state_value": 21, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "upgrading", + "state_draw_graph": 0, + "state_value": 22, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "okButAuthFailed", + "state_draw_graph": 0, + "state_value": 23, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "mdr", + "state_draw_graph": 0, + "state_value": 24, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "fwMismatchFound", + "state_draw_graph": 0, + "state_value": 25, + "state_generic_value": 2 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "fwDownloadSuccess", + "state_draw_graph": 0, + "state_value": 26, + "state_generic_value": 1 + }, + { + "state_name": "cefcModuleOperStatus", + "state_descr": "fwDownloadFailure", + "state_draw_graph": 0, + "state_value": 27, + "state_generic_value": 2 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "warning", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 1 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "critical", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "shutdown", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 3 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "notPresent", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 3 + }, + { + "state_name": "ciscoEnvMonSupplyState", + "state_descr": "notFunctioning", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 2 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "normal", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "warning", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 1 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "critical", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "shutdown", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 3 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "notPresent", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 3 + }, + { + "state_name": "ciscoEnvMonTemperatureState", + "state_descr": "notFunctioning", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 2 + }, + { + "state_name": "crepSegmentComplete", + "state_descr": "unknown", + "state_draw_graph": 0, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "crepSegmentComplete", + "state_descr": "complete", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "crepSegmentComplete", + "state_descr": "incomplete", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + } + ] + } + } +} diff --git a/tests/data/ios_stp-vlans.json b/tests/data/ios_stp-vlans.json index 2bab2917c8..9335d7ab59 100644 --- a/tests/data/ios_stp-vlans.json +++ b/tests/data/ios_stp-vlans.json @@ -3537,8 +3537,8 @@ "ifName": "StackPort2", "portName": null, "ifIndex": 5182, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "false", "ifOperStatus": "down", "ifOperStatus_prev": "down", @@ -3637,8 +3637,8 @@ "ifName": "StackSub-St2-1", "portName": null, "ifIndex": 5183, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "true", "ifOperStatus": "down", "ifOperStatus_prev": "down", @@ -3737,8 +3737,8 @@ "ifName": "StackSub-St2-2", "portName": null, "ifIndex": 5184, - "ifSpeed": 0, - "ifSpeed_prev": null, + "ifSpeed": null, + "ifSpeed_prev": 0, "ifConnectorPresent": "true", "ifOperStatus": "down", "ifOperStatus_prev": "down", diff --git a/tests/snmpsim/ios_ie2000.snmprec b/tests/snmpsim/ios_ie2000.snmprec new file mode 100644 index 0000000000..272172be45 --- /dev/null +++ b/tests/snmpsim/ios_ie2000.snmprec @@ -0,0 +1,37 @@ +1.3.6.1.2.1.1.1.0|4x|22436973636f20494f5320536f6674776172652c2049453230303020536f66747761726520284945323030302d554e4956455253414c4b392d4d292c2056657273696f6e2031352e3228372945322c2052454c4541534520534f4654574152452028666333290a546563686e6963616c20537570706f72743a20687474703a2f2f7777772e636973636f2e636f6d2f74656368737570706f72740d0a436f707972696768742028632920313938362d3230323020627920436973636f2053797374656d732c20496e632e0d0a436f6d70696c65642053756e2031352d4d61722d32302030363a33312062792070726f645f72656c5f7465616d22 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.9.1.1473 +1.3.6.1.2.1.31.1.1.1.1.1|4|Vl1 +1.3.6.1.2.1.31.1.1.1.1.100|4|Vl100 +1.3.6.1.2.1.31.1.1.1.1.10001|4|Fa1/1 +1.3.6.1.2.1.31.1.1.1.1.10002|4|Fa1/2 +1.3.6.1.2.1.31.1.1.1.1.10003|4|Fa1/3 +1.3.6.1.2.1.31.1.1.1.1.10004|4|Fa1/4 +1.3.6.1.2.1.31.1.1.1.1.10005|4|Fa1/5 +1.3.6.1.2.1.31.1.1.1.1.10006|4|Fa1/6 +1.3.6.1.2.1.31.1.1.1.1.10007|4|Fa1/7 +1.3.6.1.2.1.31.1.1.1.1.10008|4|Fa1/8 +1.3.6.1.2.1.31.1.1.1.1.10277|4|Gi1/1 +1.3.6.1.2.1.31.1.1.1.1.10278|4|Gi1/2 +1.3.6.1.2.1.31.1.1.1.1.10501|4|Nu0 +1.3.6.1.4.1.9.9.13.1.3.1.2.1006|4|SW#1, Sensor#1, GREEN +1.3.6.1.4.1.9.9.13.1.3.1.3.1006|66|46 +1.3.6.1.4.1.9.9.13.1.3.1.4.1006|2|89 +1.3.6.1.4.1.9.9.13.1.3.1.5.1006|2|0 +1.3.6.1.4.1.9.9.13.1.3.1.6.1006|2|1 +1.3.6.1.4.1.9.9.13.1.3.1.7.1006|2|46 +1.3.6.1.4.1.9.9.13.1.5.1.2.1004|4|Sw1, PSA Normal +1.3.6.1.4.1.9.9.13.1.5.1.2.1005|4|Sw1, PSB Faulty +1.3.6.1.4.1.9.9.13.1.5.1.3.1004|2|1 +1.3.6.1.4.1.9.9.13.1.5.1.3.1005|2|6 +1.3.6.1.4.1.9.9.13.1.5.1.4.1004|2|3 +1.3.6.1.4.1.9.9.13.1.5.1.4.1005|2|3 +1.3.6.1.4.1.9.9.117.1.2.1.1.2.1007|2|2 +1.3.6.1.4.1.9.9.402.1.4.1.0|66|0 +1.3.6.1.4.1.9.9.402.1.4.2.1.2.0|66|0 +1.3.6.1.4.1.9.9.402.1.4.2.1.2.1|66|0 +1.3.6.1.4.1.9.9.402.1.4.2.1.2.2|66|0 +1.3.6.1.4.1.9.9.402.1.4.2.1.2.3|66|0 +1.3.6.1.4.1.9.9.402.1.4.2.1.2.4|66|0 +1.3.6.1.4.1.9.9.402.1.4.2.1.2.5|66|0 +1.3.6.1.4.1.9.9.402.1.4.2.1.2.6|66|0 +1.3.6.1.4.1.9.9.601.1.3.1.1.4.1|2|1