From aac57e60a7d461115f6bfc324b485d44e8b72ec7 Mon Sep 17 00:00:00 2001 From: PipoCanaja <38363551+PipoCanaja@users.noreply.github.com> Date: Fri, 26 Mar 2021 13:47:12 +0100 Subject: [PATCH] VRP - Fix SSID Client count (#12629) * Fix Client count * style * no caching * style * snmpwalk_cache_oid * Include total of all STA connected * style * Update Vrp.php * fix GHz casing Co-authored-by: Tony Murray --- LibreNMS/OS/Vrp.php | 81 ++++++-- tests/data/vrp_ac6605-26.json | 276 ++++++++++++++++++++++------ tests/snmpsim/vrp_ac6605-26.snmprec | 6 + 3 files changed, 290 insertions(+), 73 deletions(-) diff --git a/LibreNMS/OS/Vrp.php b/LibreNMS/OS/Vrp.php index cbf07e9287..694e4265e4 100644 --- a/LibreNMS/OS/Vrp.php +++ b/LibreNMS/OS/Vrp.php @@ -404,28 +404,71 @@ class Vrp extends OS implements public function discoverWirelessClients() { $sensors = []; - $total_oids = []; - $vapInfoTable = $this->getCacheTable('hwWlanVapInfoTable', 'HUAWEI-WLAN-VAP-MIB', 3); + $staTable = snmpwalk_cache_oid($this->getDeviceArray(), 'hwWlanSsid2gStaCnt', [], 'HUAWEI-WLAN-VAP-MIB'); + $staTable = snmpwalk_cache_oid($this->getDeviceArray(), 'hwWlanSsid5gStaCnt', $staTable, 'HUAWEI-WLAN-VAP-MIB'); - foreach ($vapInfoTable as $a_index => $ap) { - //Convert mac address (hh:hh:hh:hh:hh:hh) to dec OID (ddd.ddd.ddd.ddd.ddd.ddd) - $a_index_oid = implode('.', array_map('hexdec', explode(':', $a_index))); - foreach ($ap as $r_index => $radio) { - foreach ($radio as $s_index => $ssid) { - $oid = '.1.3.6.1.4.1.2011.6.139.17.1.1.1.9.' . $a_index_oid . '.' . $r_index . '.' . $s_index; - $total_oids[] = $oid; - $sensors[] = new WirelessSensor( - 'clients', - $this->getDeviceId(), - $oid, - 'vrp', - $a_index_oid . '.' . $r_index . '.' . $s_index, - 'Radio:' . $r_index . ' SSID:' . $ssid['hwWlanVapProfileName'], - $ssid['hwWlanVapStaOnlineCnt'] - ); - } + //Map OIDs and description + $oidMap = [ + 'hwWlanSsid5gStaCnt' => '.1.3.6.1.4.1.2011.6.139.17.1.2.1.3.', + 'hwWlanSsid2gStaCnt' => '.1.3.6.1.4.1.2011.6.139.17.1.2.1.2.', + ]; + $descrMap = [ + 'hwWlanSsid5gStaCnt' => '5 GHz', + 'hwWlanSsid2gStaCnt' => '2.4 GHz', + ]; + $ssid_total_oid_array = []; // keep all OIDs so we can compute the total of all STA + + foreach ($staTable as $ssid => $sta) { + //Convert string to num_oid + $numSsid = strlen($ssid) . '.' . implode('.', unpack('c*', $ssid)); + $ssid_oid_array = []; // keep all OIDs of different freqs for a single SSID, to compute each SSID sta count, all freqs included + foreach ($sta as $staFreq => $count) { + $oid = $oidMap[$staFreq] . $numSsid; + $ssid_oid_array[] = $oid; + $ssid_total_oid_array[] = $oid; + $sensors[] = new WirelessSensor( + 'clients', + $this->getDeviceId(), + $oid, + 'vrpi-clients', + $staFreq . '-' . $ssid, + 'SSID: ' . $ssid . ' (' . $descrMap[$staFreq] . ')', + $count, + 1, + 1, + 'sum' + ); } + + // And we add a sensor with all frequencies for each SSID + $sensors[] = new WirelessSensor( + 'clients', + $this->getDeviceId(), + $ssid_oid_array, + 'vrp-clients', + 'total-' . $ssid, + 'SSID: ' . $ssid, + 0, + 1, + 1, + 'sum' + ); + } + if (count($ssid_total_oid_array) > 0) { + // We have at least 1 SSID, so we can count the total of STA + $sensors[] = new WirelessSensor( + 'clients', + $this->getDeviceId(), + $ssid_total_oid_array, + 'vrp-clients', + 'total-all-ssids', + 'Total Clients', + 0, + 1, + 1, + 'sum' + ); } return $sensors; diff --git a/tests/data/vrp_ac6605-26.json b/tests/data/vrp_ac6605-26.json index 9c985a210e..085033b02b 100644 --- a/tests/data/vrp_ac6605-26.json +++ b/tests/data/vrp_ac6605-26.json @@ -7464,9 +7464,9 @@ { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.0.1", - "sensor_type": "vrp", - "sensor_descr": "Radio:0 SSID:acme", + "sensor_index": "hwWlanSsid2gStaCnt-WIFIOG", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG (2.4 GHz)", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", @@ -7480,14 +7480,14 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.0.1\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.6.87.73.70.73.79.71\"]" }, { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.0.2", - "sensor_type": "vrp", - "sensor_descr": "Radio:0 SSID:WIFI_BYOD", + "sensor_index": "hwWlanSsid5gStaCnt-WIFIOG", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG (5 GHz)", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", @@ -7501,14 +7501,14 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.0.2\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.6.87.73.70.73.79.71\"]" }, { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.0.3", - "sensor_type": "vrp", - "sensor_descr": "Radio:0 SSID:acme_Guest", + "sensor_index": "total-WIFIOG", + "sensor_type": "vrp-clients", + "sensor_descr": "SSID: WIFIOG", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", @@ -7522,18 +7522,18 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.0.3\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.6.87.73.70.73.79.71\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.6.87.73.70.73.79.71\"]" }, { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.1.1", - "sensor_type": "vrp", - "sensor_descr": "Radio:1 SSID:acme", + "sensor_index": "hwWlanSsid2gStaCnt-WIFIOG-BYOD", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG-BYOD (2.4 GHz)", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", - "sensor_current": 0, + "sensor_current": 1, "sensor_prev": null, "sensor_limit": null, "sensor_limit_warn": null, @@ -7543,18 +7543,18 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.1.1\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.11.87.73.70.73.79.71.45.66.89.79.68\"]" }, { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.1.2", - "sensor_type": "vrp", - "sensor_descr": "Radio:1 SSID:WIFI_BYOD", + "sensor_index": "hwWlanSsid5gStaCnt-WIFIOG-BYOD", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG-BYOD (5 GHz)", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", - "sensor_current": 0, + "sensor_current": 5, "sensor_prev": null, "sensor_limit": null, "sensor_limit_warn": null, @@ -7564,14 +7564,14 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.1.2\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.11.87.73.70.73.79.71.45.66.89.79.68\"]" }, { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.1.3", - "sensor_type": "vrp", - "sensor_descr": "Radio:1 SSID:acme_Guest", + "sensor_index": "total-WIFIOG-BYOD", + "sensor_type": "vrp-clients", + "sensor_descr": "SSID: WIFIOG-BYOD", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", @@ -7585,7 +7585,91 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.1.3\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.11.87.73.70.73.79.71.45.66.89.79.68\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.11.87.73.70.73.79.71.45.66.89.79.68\"]" + }, + { + "sensor_deleted": 0, + "sensor_class": "clients", + "sensor_index": "hwWlanSsid2gStaCnt-WIFIOG-Guest", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG-Guest (2.4 GHz)", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_aggregator": "sum", + "sensor_current": 1, + "sensor_prev": null, + "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_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.12.87.73.70.73.79.71.45.71.117.101.115.116\"]" + }, + { + "sensor_deleted": 0, + "sensor_class": "clients", + "sensor_index": "hwWlanSsid5gStaCnt-WIFIOG-Guest", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG-Guest (5 GHz)", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_aggregator": "sum", + "sensor_current": 0, + "sensor_prev": null, + "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_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.12.87.73.70.73.79.71.45.71.117.101.115.116\"]" + }, + { + "sensor_deleted": 0, + "sensor_class": "clients", + "sensor_index": "total-WIFIOG-Guest", + "sensor_type": "vrp-clients", + "sensor_descr": "SSID: WIFIOG-Guest", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_aggregator": "sum", + "sensor_current": 0, + "sensor_prev": null, + "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_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.12.87.73.70.73.79.71.45.71.117.101.115.116\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.12.87.73.70.73.79.71.45.71.117.101.115.116\"]" + }, + { + "sensor_deleted": 0, + "sensor_class": "clients", + "sensor_index": "total-all-ssids", + "sensor_type": "vrp-clients", + "sensor_descr": "Total Clients", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_aggregator": "sum", + "sensor_current": 0, + "sensor_prev": null, + "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_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.6.87.73.70.73.79.71\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.6.87.73.70.73.79.71\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.11.87.73.70.73.79.71.45.66.89.79.68\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.11.87.73.70.73.79.71.45.66.89.79.68\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.12.87.73.70.73.79.71.45.71.117.101.115.116\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.12.87.73.70.73.79.71.45.71.117.101.115.116\"]" } ] }, @@ -7615,9 +7699,9 @@ { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.0.1", - "sensor_type": "vrp", - "sensor_descr": "Radio:0 SSID:acme", + "sensor_index": "hwWlanSsid2gStaCnt-WIFIOG", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG (2.4 GHz)", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", @@ -7631,14 +7715,14 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.0.1\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.6.87.73.70.73.79.71\"]" }, { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.0.2", - "sensor_type": "vrp", - "sensor_descr": "Radio:0 SSID:WIFI_BYOD", + "sensor_index": "hwWlanSsid5gStaCnt-WIFIOG", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG (5 GHz)", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", @@ -7652,14 +7736,14 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.0.2\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.6.87.73.70.73.79.71\"]" }, { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.0.3", - "sensor_type": "vrp", - "sensor_descr": "Radio:0 SSID:acme_Guest", + "sensor_index": "total-WIFIOG", + "sensor_type": "vrp-clients", + "sensor_descr": "SSID: WIFIOG", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", @@ -7673,19 +7757,19 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.0.3\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.6.87.73.70.73.79.71\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.6.87.73.70.73.79.71\"]" }, { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.1.1", - "sensor_type": "vrp", - "sensor_descr": "Radio:1 SSID:acme", + "sensor_index": "hwWlanSsid2gStaCnt-WIFIOG-BYOD", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG-BYOD (2.4 GHz)", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", - "sensor_current": 0, - "sensor_prev": 0, + "sensor_current": 1, + "sensor_prev": 1, "sensor_limit": null, "sensor_limit_warn": null, "sensor_limit_low": null, @@ -7694,19 +7778,19 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.1.1\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.11.87.73.70.73.79.71.45.66.89.79.68\"]" }, { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.1.2", - "sensor_type": "vrp", - "sensor_descr": "Radio:1 SSID:WIFI_BYOD", + "sensor_index": "hwWlanSsid5gStaCnt-WIFIOG-BYOD", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG-BYOD (5 GHz)", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", - "sensor_current": 0, - "sensor_prev": 0, + "sensor_current": 5, + "sensor_prev": 5, "sensor_limit": null, "sensor_limit_warn": null, "sensor_limit_low": null, @@ -7715,14 +7799,56 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.1.2\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.11.87.73.70.73.79.71.45.66.89.79.68\"]" }, { "sensor_deleted": 0, "sensor_class": "clients", - "sensor_index": "80.111.119.234.220.160.1.3", - "sensor_type": "vrp", - "sensor_descr": "Radio:1 SSID:acme_Guest", + "sensor_index": "total-WIFIOG-BYOD", + "sensor_type": "vrp-clients", + "sensor_descr": "SSID: WIFIOG-BYOD", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_aggregator": "sum", + "sensor_current": 6, + "sensor_prev": 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_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.11.87.73.70.73.79.71.45.66.89.79.68\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.11.87.73.70.73.79.71.45.66.89.79.68\"]" + }, + { + "sensor_deleted": 0, + "sensor_class": "clients", + "sensor_index": "hwWlanSsid2gStaCnt-WIFIOG-Guest", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG-Guest (2.4 GHz)", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_aggregator": "sum", + "sensor_current": 1, + "sensor_prev": 1, + "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_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.12.87.73.70.73.79.71.45.71.117.101.115.116\"]" + }, + { + "sensor_deleted": 0, + "sensor_class": "clients", + "sensor_index": "hwWlanSsid5gStaCnt-WIFIOG-Guest", + "sensor_type": "vrpi-clients", + "sensor_descr": "SSID: WIFIOG-Guest (5 GHz)", "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_aggregator": "sum", @@ -7736,7 +7862,49 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.1.1.9.80.111.119.234.220.160.1.3\"]" + "sensor_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.12.87.73.70.73.79.71.45.71.117.101.115.116\"]" + }, + { + "sensor_deleted": 0, + "sensor_class": "clients", + "sensor_index": "total-WIFIOG-Guest", + "sensor_type": "vrp-clients", + "sensor_descr": "SSID: WIFIOG-Guest", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_aggregator": "sum", + "sensor_current": 1, + "sensor_prev": 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_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.12.87.73.70.73.79.71.45.71.117.101.115.116\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.12.87.73.70.73.79.71.45.71.117.101.115.116\"]" + }, + { + "sensor_deleted": 0, + "sensor_class": "clients", + "sensor_index": "total-all-ssids", + "sensor_type": "vrp-clients", + "sensor_descr": "Total Clients", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_aggregator": "sum", + "sensor_current": 7, + "sensor_prev": 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_oids": "[\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.6.87.73.70.73.79.71\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.6.87.73.70.73.79.71\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.11.87.73.70.73.79.71.45.66.89.79.68\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.11.87.73.70.73.79.71.45.66.89.79.68\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.2.12.87.73.70.73.79.71.45.71.117.101.115.116\",\".1.3.6.1.4.1.2011.6.139.17.1.2.1.3.12.87.73.70.73.79.71.45.71.117.101.115.116\"]" } ] } diff --git a/tests/snmpsim/vrp_ac6605-26.snmprec b/tests/snmpsim/vrp_ac6605-26.snmprec index 8dc937d029..42d304053d 100644 --- a/tests/snmpsim/vrp_ac6605-26.snmprec +++ b/tests/snmpsim/vrp_ac6605-26.snmprec @@ -4015,6 +4015,12 @@ 1.3.6.1.4.1.2011.6.139.17.1.1.1.11.80.111.119.234.220.160.1.1|66|0 1.3.6.1.4.1.2011.6.139.17.1.1.1.11.80.111.119.234.220.160.1.2|66|0 1.3.6.1.4.1.2011.6.139.17.1.1.1.11.80.111.119.234.220.160.1.3|66|0 +1.3.6.1.4.1.2011.6.139.17.1.2.1.2.6.87.73.70.73.79.71|2|0 +1.3.6.1.4.1.2011.6.139.17.1.2.1.2.11.87.73.70.73.79.71.45.66.89.79.68|2|1 +1.3.6.1.4.1.2011.6.139.17.1.2.1.2.12.87.73.70.73.79.71.45.71.117.101.115.116|2|1 +1.3.6.1.4.1.2011.6.139.17.1.2.1.3.6.87.73.70.73.79.71|2|0 +1.3.6.1.4.1.2011.6.139.17.1.2.1.3.11.87.73.70.73.79.71.45.66.89.79.68|2|5 +1.3.6.1.4.1.2011.6.139.17.1.2.1.3.12.87.73.70.73.79.71.45.71.117.101.115.116|2|0 1.3.6.1.4.1.2011.6.157.1.3.0|2|43291 1.3.6.1.4.1.2011.6.157.1.6.0|2|43291 1.3.6.1.6.3.10.2.1.3.0|2|610994