From e940f0b39c0724005987d1d407bb8cc86c8e9146 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Tue, 6 Feb 2018 14:05:46 -0600 Subject: [PATCH] Add some wireless test data (#8210) saf lumina, saf phoenix, airos, airos-af, unifi uap --- tests/data/airos-af.json | 348 +++++++++++++++++ tests/data/airos.json | 600 ++++++++++++++++++++++++++++++ tests/data/saf_lumina.json | 306 +++++++++++++++ tests/data/saf_phoenix.json | 306 +++++++++++++++ tests/data/unifi.json | 558 ++++++++++++++++++++++++++- tests/snmpsim/airos-af.snmprec | 12 + tests/snmpsim/airos.snmprec | 18 + tests/snmpsim/saf.snmprec | 2 - tests/snmpsim/saf_lumina.snmprec | 13 + tests/snmpsim/saf_phoenix.snmprec | 13 + tests/snmpsim/unifi.snmprec | 35 ++ 11 files changed, 2208 insertions(+), 3 deletions(-) create mode 100644 tests/data/airos-af.json create mode 100644 tests/data/airos.json create mode 100644 tests/data/saf_lumina.json create mode 100644 tests/data/saf_phoenix.json delete mode 100644 tests/snmpsim/saf.snmprec create mode 100644 tests/snmpsim/saf_lumina.snmprec create mode 100644 tests/snmpsim/saf_phoenix.snmprec diff --git a/tests/data/airos-af.json b/tests/data/airos-af.json new file mode 100644 index 0000000000..f9fb9bd83b --- /dev/null +++ b/tests/data/airos-af.json @@ -0,0 +1,348 @@ +{ + "wireless": { + "discovery": { + "wireless_sensors": [ + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "airos-tx", + "sensor_descr": "Tx Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "58612500", + "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.41112.1.3.2.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "airos-rx", + "sensor_descr": "Rx Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "201252000", + "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.41112.1.3.2.1.5.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "airos-af-tx", + "sensor_descr": "Tx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "47", + "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.41112.1.3.1.1.9.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "0", + "sensor_type": "airos-af-rx", + "sensor_descr": "Rx Chain 0 Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-52", + "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.41112.1.3.2.1.11.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "airos-af-rx", + "sensor_descr": "Rx Chain 1 Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-52", + "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.41112.1.3.2.1.14.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "airos-af-tx", + "sensor_descr": "Tx Frequency", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "5835", + "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.41112.1.3.1.1.5.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "airos-af-rx", + "sensor_descr": "Rx Frequency", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "5835", + "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.41112.1.3.1.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "distance", + "sensor_index": "1", + "sensor_type": "airos-af", + "sensor_descr": "Distance", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "12.095", + "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.41112.1.3.2.1.4.1\"]" + } + ] + }, + "poller": { + "wireless_sensors": [ + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "airos-tx", + "sensor_descr": "Tx Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "58612500", + "sensor_prev": "58612500", + "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.41112.1.3.2.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "airos-rx", + "sensor_descr": "Rx Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "201252000", + "sensor_prev": "201252000", + "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.41112.1.3.2.1.5.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "airos-af-tx", + "sensor_descr": "Tx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "47", + "sensor_prev": "47", + "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.41112.1.3.1.1.9.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "0", + "sensor_type": "airos-af-rx", + "sensor_descr": "Rx Chain 0 Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-52", + "sensor_prev": "-52", + "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.41112.1.3.2.1.11.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "airos-af-rx", + "sensor_descr": "Rx Chain 1 Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-52", + "sensor_prev": "-52", + "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.41112.1.3.2.1.14.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "airos-af-tx", + "sensor_descr": "Tx Frequency", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "5835", + "sensor_prev": "5835", + "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.41112.1.3.1.1.5.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "airos-af-rx", + "sensor_descr": "Rx Frequency", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "5835", + "sensor_prev": "5835", + "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.41112.1.3.1.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "distance", + "sensor_index": "1", + "sensor_type": "airos-af", + "sensor_descr": "Distance", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "12.095", + "sensor_prev": "12.095", + "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.41112.1.3.2.1.4.1\"]" + } + ] + } + } +} diff --git a/tests/data/airos.json b/tests/data/airos.json new file mode 100644 index 0000000000..0bd1080726 --- /dev/null +++ b/tests/data/airos.json @@ -0,0 +1,600 @@ +{ + "wireless": { + "discovery": { + "wireless_sensors": [ + { + "sensor_deleted": "0", + "sensor_class": "clients", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "Clients", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "22", + "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.41112.1.4.5.1.15.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "quality", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "airMAX Quality", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "53", + "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.41112.1.4.6.1.3.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "capacity", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "airMAX Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "50", + "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.41112.1.4.6.1.4.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "airos-tx", + "sensor_descr": "Tx Rate", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "59999000", + "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.41112.1.4.5.1.9.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "airos-rx", + "sensor_descr": "Rx Rate", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "37338600", + "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.41112.1.4.5.1.10.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "ccq", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "CCQ", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "92", + "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.41112.1.4.5.1.7.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rssi", + "sensor_index": "0", + "sensor_type": "airos", + "sensor_descr": "Overall RSSI", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "27", + "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.41112.1.4.5.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rssi", + "sensor_index": "1.1", + "sensor_type": "airos", + "sensor_descr": "RSSI: Chain 1", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "48", + "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.41112.1.4.2.1.2.1.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rssi", + "sensor_index": "1.2", + "sensor_type": "airos", + "sensor_descr": "RSSI: Chain 2", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "50", + "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.41112.1.4.2.1.2.1.2\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "airos-tx", + "sensor_descr": "Tx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "27", + "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.41112.1.4.1.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "airos-rx", + "sensor_descr": "Signal Level", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-69", + "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.41112.1.4.5.1.5.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "noise-floor", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "Noise Floor", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-103", + "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.41112.1.4.5.1.8.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "Radio Frequency", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "5745", + "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.41112.1.4.1.1.4.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "distance", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "Distance", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "14.4", + "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.41112.1.4.1.1.7.1\"]" + } + ] + }, + "poller": { + "wireless_sensors": [ + { + "sensor_deleted": "0", + "sensor_class": "clients", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "Clients", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "22", + "sensor_prev": "22", + "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.41112.1.4.5.1.15.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "quality", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "airMAX Quality", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "53", + "sensor_prev": "53", + "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.41112.1.4.6.1.3.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "capacity", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "airMAX Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "50", + "sensor_prev": "50", + "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.41112.1.4.6.1.4.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "airos-tx", + "sensor_descr": "Tx Rate", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "59999000", + "sensor_prev": "59999000", + "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.41112.1.4.5.1.9.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "airos-rx", + "sensor_descr": "Rx Rate", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "37338600", + "sensor_prev": "37338600", + "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.41112.1.4.5.1.10.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "ccq", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "CCQ", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "92", + "sensor_prev": "92", + "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.41112.1.4.5.1.7.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rssi", + "sensor_index": "0", + "sensor_type": "airos", + "sensor_descr": "Overall RSSI", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "27", + "sensor_prev": "27", + "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.41112.1.4.5.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rssi", + "sensor_index": "1.1", + "sensor_type": "airos", + "sensor_descr": "RSSI: Chain 1", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "48", + "sensor_prev": "48", + "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.41112.1.4.2.1.2.1.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rssi", + "sensor_index": "1.2", + "sensor_type": "airos", + "sensor_descr": "RSSI: Chain 2", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "50", + "sensor_prev": "50", + "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.41112.1.4.2.1.2.1.2\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "airos-tx", + "sensor_descr": "Tx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "27", + "sensor_prev": "27", + "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.41112.1.4.1.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "airos-rx", + "sensor_descr": "Signal Level", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-69", + "sensor_prev": "-69", + "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.41112.1.4.5.1.5.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "noise-floor", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "Noise Floor", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-103", + "sensor_prev": "-103", + "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.41112.1.4.5.1.8.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "Radio Frequency", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "5745", + "sensor_prev": "5745", + "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.41112.1.4.1.1.4.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "distance", + "sensor_index": "1", + "sensor_type": "airos", + "sensor_descr": "Distance", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "14.4", + "sensor_prev": "14.4", + "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.41112.1.4.1.1.7.1\"]" + } + ] + } + } +} diff --git a/tests/data/saf_lumina.json b/tests/data/saf_lumina.json new file mode 100644 index 0000000000..f82baec5ab --- /dev/null +++ b/tests/data/saf_lumina.json @@ -0,0 +1,306 @@ +{ + "wireless": { + "discovery": { + "wireless_sensors": [ + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "saf-acm", + "sensor_descr": "ACM Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1000", + "sensor_aggregator": "sum", + "sensor_current": "363600000", + "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.7571.100.1.1.5.1.1.1.12.1.18.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "saf-total", + "sensor_descr": "Total Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1000", + "sensor_aggregator": "sum", + "sensor_current": "363600000", + "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.7571.100.1.1.5.1.1.1.12.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "mse", + "sensor_index": "1", + "sensor_type": "saf-radial", + "sensor_descr": "Radial MSE", + "sensor_divisor": "10", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-32.7", + "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.7571.100.1.1.5.1.1.1.12.1.10.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "saf-rx", + "sensor_descr": "Rx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-46", + "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.7571.100.1.1.5.1.1.1.10.1.5.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "saf-tx", + "sensor_descr": "Tx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "18", + "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.7571.100.1.1.5.1.1.1.10.1.4.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "saf-tx", + "sensor_descr": "Tx Frequency", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "11405", + "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.7571.100.1.1.5.1.1.1.10.1.9.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "saf-rx", + "sensor_descr": "Rx Frequency", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "10915", + "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.7571.100.1.1.5.1.1.1.10.1.10.1\"]" + } + ] + }, + "poller": { + "wireless_sensors": [ + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "saf-acm", + "sensor_descr": "ACM Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1000", + "sensor_aggregator": "sum", + "sensor_current": "363600000", + "sensor_prev": "363600000", + "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.7571.100.1.1.5.1.1.1.12.1.18.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "saf-total", + "sensor_descr": "Total Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1000", + "sensor_aggregator": "sum", + "sensor_current": "363600000", + "sensor_prev": "363600000", + "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.7571.100.1.1.5.1.1.1.12.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "mse", + "sensor_index": "1", + "sensor_type": "saf-radial", + "sensor_descr": "Radial MSE", + "sensor_divisor": "10", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-32.7", + "sensor_prev": "-32.7", + "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.7571.100.1.1.5.1.1.1.12.1.10.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "saf-rx", + "sensor_descr": "Rx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-46", + "sensor_prev": "-46", + "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.7571.100.1.1.5.1.1.1.10.1.5.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "saf-tx", + "sensor_descr": "Tx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "18", + "sensor_prev": "18", + "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.7571.100.1.1.5.1.1.1.10.1.4.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "saf-tx", + "sensor_descr": "Tx Frequency", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "11405", + "sensor_prev": "11405", + "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.7571.100.1.1.5.1.1.1.10.1.9.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "saf-rx", + "sensor_descr": "Rx Frequency", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "10915", + "sensor_prev": "10915", + "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.7571.100.1.1.5.1.1.1.10.1.10.1\"]" + } + ] + } + } +} diff --git a/tests/data/saf_phoenix.json b/tests/data/saf_phoenix.json new file mode 100644 index 0000000000..ad9c70fe45 --- /dev/null +++ b/tests/data/saf_phoenix.json @@ -0,0 +1,306 @@ +{ + "wireless": { + "discovery": { + "wireless_sensors": [ + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "saf-acm", + "sensor_descr": "ACM Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1000", + "sensor_aggregator": "sum", + "sensor_current": "362700000", + "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.7571.100.1.1.5.1.1.1.12.1.18.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "saf-total", + "sensor_descr": "Total Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1000", + "sensor_aggregator": "sum", + "sensor_current": "362700000", + "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.7571.100.1.1.5.1.1.1.12.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "mse", + "sensor_index": "1", + "sensor_type": "saf-radial", + "sensor_descr": "Radial MSE", + "sensor_divisor": "10", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-30.7", + "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.7571.100.1.1.5.1.1.1.12.1.10.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "saf-rx", + "sensor_descr": "Rx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-41", + "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.7571.100.1.1.5.1.1.1.10.1.5.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "saf-tx", + "sensor_descr": "Tx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "18", + "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.7571.100.1.1.5.1.1.1.10.1.4.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "saf-tx", + "sensor_descr": "Tx Frequency", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "10835", + "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.7571.100.1.1.5.1.1.1.10.1.9.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "saf-rx", + "sensor_descr": "Rx Frequency", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "11325", + "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.7571.100.1.1.5.1.1.1.10.1.10.1\"]" + } + ] + }, + "poller": { + "wireless_sensors": [ + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "saf-acm", + "sensor_descr": "ACM Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1000", + "sensor_aggregator": "sum", + "sensor_current": "362700000", + "sensor_prev": "362700000", + "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.7571.100.1.1.5.1.1.1.12.1.18.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "rate", + "sensor_index": "1", + "sensor_type": "saf-total", + "sensor_descr": "Total Capacity", + "sensor_divisor": "1", + "sensor_multiplier": "1000", + "sensor_aggregator": "sum", + "sensor_current": "362700000", + "sensor_prev": "362700000", + "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.7571.100.1.1.5.1.1.1.12.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "mse", + "sensor_index": "1", + "sensor_type": "saf-radial", + "sensor_descr": "Radial MSE", + "sensor_divisor": "10", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-30.7", + "sensor_prev": "-30.7", + "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.7571.100.1.1.5.1.1.1.12.1.10.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "saf-rx", + "sensor_descr": "Rx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "-41", + "sensor_prev": "-41", + "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.7571.100.1.1.5.1.1.1.10.1.5.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "1", + "sensor_type": "saf-tx", + "sensor_descr": "Tx Power", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "18", + "sensor_prev": "18", + "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.7571.100.1.1.5.1.1.1.10.1.4.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "saf-tx", + "sensor_descr": "Tx Frequency", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "10835", + "sensor_prev": "10835", + "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.7571.100.1.1.5.1.1.1.10.1.9.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "1", + "sensor_type": "saf-rx", + "sensor_descr": "Rx Frequency", + "sensor_divisor": "1000", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "11325", + "sensor_prev": "11325", + "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.7571.100.1.1.5.1.1.1.10.1.10.1\"]" + } + ] + } + } +} diff --git a/tests/data/unifi.json b/tests/data/unifi.json index 526c05f525..5aef09ad0e 100644 --- a/tests/data/unifi.json +++ b/tests/data/unifi.json @@ -16,5 +16,561 @@ ] }, "poller": "matches discovery" + }, + "wireless": { + "discovery": { + "wireless_sensors": [ + { + "sensor_deleted": "0", + "sensor_class": "clients", + "sensor_index": "ng", + "sensor_type": "unifi", + "sensor_descr": "Clients (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "4", + "sensor_prev": null, + "sensor_limit": "40", + "sensor_limit_warn": "30", + "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.41112.1.6.1.2.1.8.1\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.2\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.3\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.4\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "clients", + "sensor_index": "Main SSID", + "sensor_type": "unifi", + "sensor_descr": "SSID: Main SSID", + "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.41112.1.6.1.2.1.8.2\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "clients", + "sensor_index": "guest", + "sensor_type": "unifi", + "sensor_descr": "SSID: guest", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "3", + "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.41112.1.6.1.2.1.8.3\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "clients", + "sensor_index": "Maintenance", + "sensor_type": "unifi", + "sensor_descr": "SSID: Maintenance", + "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.41112.1.6.1.2.1.8.4\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "utilization", + "sensor_index": "1", + "sensor_type": "unifi-total", + "sensor_descr": "Total Util (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "9", + "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.41112.1.6.1.1.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "utilization", + "sensor_index": "1", + "sensor_type": "unifi-rx", + "sensor_descr": "Self Rx Util (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "3", + "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.41112.1.6.1.1.1.7.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "utilization", + "sensor_index": "1", + "sensor_type": "unifi-tx", + "sensor_descr": "Self Tx Util (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "6", + "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.41112.1.6.1.1.1.8.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "utilization", + "sensor_index": "1", + "sensor_type": "unifi-other", + "sensor_descr": "Other BSS Util (ng)", + "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.41112.1.6.1.1.1.9.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "ccq", + "sensor_index": "2", + "sensor_type": "unifi", + "sensor_descr": "SSID: Main SSID (ng)", + "sensor_divisor": "10", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "99.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.41112.1.6.1.2.1.3.2\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "ccq", + "sensor_index": "3", + "sensor_type": "unifi", + "sensor_descr": "SSID: guest (ng)", + "sensor_divisor": "10", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "78.8", + "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.41112.1.6.1.2.1.3.3\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "ccq", + "sensor_index": "4", + "sensor_type": "unifi", + "sensor_descr": "SSID: Maintenance (ng)", + "sensor_divisor": "10", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "78.8", + "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.41112.1.6.1.2.1.3.4\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "ng", + "sensor_type": "unifi-tx", + "sensor_descr": "Tx Power (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "5", + "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.41112.1.6.1.2.1.21.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "ng", + "sensor_type": "unifi", + "sensor_descr": "Frequency (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "2462", + "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.41112.1.6.1.2.1.4.1\"]" + } + ] + }, + "poller": { + "wireless_sensors": [ + { + "sensor_deleted": "0", + "sensor_class": "clients", + "sensor_index": "ng", + "sensor_type": "unifi", + "sensor_descr": "Clients (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "4", + "sensor_prev": "4", + "sensor_limit": "40", + "sensor_limit_warn": "30", + "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.41112.1.6.1.2.1.8.1\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.2\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.3\",\".1.3.6.1.4.1.41112.1.6.1.2.1.8.4\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "clients", + "sensor_index": "Main SSID", + "sensor_type": "unifi", + "sensor_descr": "SSID: Main SSID", + "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.41112.1.6.1.2.1.8.2\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "clients", + "sensor_index": "guest", + "sensor_type": "unifi", + "sensor_descr": "SSID: guest", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "3", + "sensor_prev": "3", + "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.41112.1.6.1.2.1.8.3\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "clients", + "sensor_index": "Maintenance", + "sensor_type": "unifi", + "sensor_descr": "SSID: Maintenance", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "0", + "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.41112.1.6.1.2.1.8.4\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "utilization", + "sensor_index": "1", + "sensor_type": "unifi-total", + "sensor_descr": "Total Util (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "9", + "sensor_prev": "9", + "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.41112.1.6.1.1.1.6.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "utilization", + "sensor_index": "1", + "sensor_type": "unifi-rx", + "sensor_descr": "Self Rx Util (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "3", + "sensor_prev": "3", + "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.41112.1.6.1.1.1.7.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "utilization", + "sensor_index": "1", + "sensor_type": "unifi-tx", + "sensor_descr": "Self Tx Util (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "6", + "sensor_prev": "6", + "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.41112.1.6.1.1.1.8.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "utilization", + "sensor_index": "1", + "sensor_type": "unifi-other", + "sensor_descr": "Other BSS Util (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "0", + "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.41112.1.6.1.1.1.9.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "ccq", + "sensor_index": "2", + "sensor_type": "unifi", + "sensor_descr": "SSID: Main SSID (ng)", + "sensor_divisor": "10", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "99.1", + "sensor_prev": "99.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.41112.1.6.1.2.1.3.2\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "ccq", + "sensor_index": "3", + "sensor_type": "unifi", + "sensor_descr": "SSID: guest (ng)", + "sensor_divisor": "10", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "78.8", + "sensor_prev": "78.8", + "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.41112.1.6.1.2.1.3.3\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "ccq", + "sensor_index": "4", + "sensor_type": "unifi", + "sensor_descr": "SSID: Maintenance (ng)", + "sensor_divisor": "10", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "78.8", + "sensor_prev": "78.8", + "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.41112.1.6.1.2.1.3.4\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "power", + "sensor_index": "ng", + "sensor_type": "unifi-tx", + "sensor_descr": "Tx Power (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "5", + "sensor_prev": "5", + "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.41112.1.6.1.2.1.21.1\"]" + }, + { + "sensor_deleted": "0", + "sensor_class": "frequency", + "sensor_index": "ng", + "sensor_type": "unifi", + "sensor_descr": "Frequency (ng)", + "sensor_divisor": "1", + "sensor_multiplier": "1", + "sensor_aggregator": "sum", + "sensor_current": "2462", + "sensor_prev": "2462", + "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.41112.1.6.1.2.1.4.1\"]" + } + ] + } } -} \ No newline at end of file +} diff --git a/tests/snmpsim/airos-af.snmprec b/tests/snmpsim/airos-af.snmprec index fd8b8bd95e..84912665c6 100644 --- a/tests/snmpsim/airos-af.snmprec +++ b/tests/snmpsim/airos-af.snmprec @@ -1,3 +1,15 @@ 1.3.6.1.2.1.1.1.0|4|Linux 2.6.33 #1 Mon Nov 30 14:15:06 CST 2015 armv5tejl 1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.10002.1 +1.3.6.1.2.1.1.3.0|67|1378269700 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.4.1.41112.1.3.1.1.5.1|2|5835 +1.3.6.1.4.1.41112.1.3.1.1.6.1|2|5835 +1.3.6.1.4.1.41112.1.3.1.1.9.1|2|47 +1.3.6.1.4.1.41112.1.3.2.1.4.1|2|12095 +1.3.6.1.4.1.41112.1.3.2.1.5.1|2|201251840 +1.3.6.1.4.1.41112.1.3.2.1.6.1|2|58612480 +1.3.6.1.4.1.41112.1.3.2.1.11.1|2|-52 +1.3.6.1.4.1.41112.1.3.2.1.14.1|2|-52 1.3.6.1.4.1.41112.1.3.2.1.40.1|4|v2.2 diff --git a/tests/snmpsim/airos.snmprec b/tests/snmpsim/airos.snmprec index 7461b7dbd0..81c5517e15 100644 --- a/tests/snmpsim/airos.snmprec +++ b/tests/snmpsim/airos.snmprec @@ -1,2 +1,20 @@ 1.3.6.1.2.1.1.1.0|4|Linux 2.6.32.68 #1 Fri Dec 16 15:44:21 EET 2016 mips 1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.10002.1 +1.3.6.1.2.1.1.3.0|67|637273100 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.4.1.41112.1.4.1.1.4.1|2|5745 +1.3.6.1.4.1.41112.1.4.1.1.6.1|2|27 +1.3.6.1.4.1.41112.1.4.1.1.7.1|2|14400 +1.3.6.1.4.1.41112.1.4.2.1.2.1.1|2|48 +1.3.6.1.4.1.41112.1.4.2.1.2.1.2|2|50 +1.3.6.1.4.1.41112.1.4.5.1.5.1|2|-69 +1.3.6.1.4.1.41112.1.4.5.1.6.1|2|27 +1.3.6.1.4.1.41112.1.4.5.1.7.1|2|92 +1.3.6.1.4.1.41112.1.4.5.1.8.1|2|-103 +1.3.6.1.4.1.41112.1.4.5.1.9.1|2|59999000 +1.3.6.1.4.1.41112.1.4.5.1.10.1|2|37338600 +1.3.6.1.4.1.41112.1.4.5.1.15.1|66|22 +1.3.6.1.4.1.41112.1.4.6.1.3.1|2|53 +1.3.6.1.4.1.41112.1.4.6.1.4.1|2|50 diff --git a/tests/snmpsim/saf.snmprec b/tests/snmpsim/saf.snmprec deleted file mode 100644 index ddfbf452db..0000000000 --- a/tests/snmpsim/saf.snmprec +++ /dev/null @@ -1,2 +0,0 @@ -1.3.6.1.2.1.1.1.0|4|SAF microwave radio;CFIP PhoeniX IDU v1.63.46;Model:3;HW:6;SN: 000000000000;PC: S0GIPT11 -1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.7571.100.1.1.5.1 diff --git a/tests/snmpsim/saf_lumina.snmprec b/tests/snmpsim/saf_lumina.snmprec new file mode 100644 index 0000000000..507c0fdde3 --- /dev/null +++ b/tests/snmpsim/saf_lumina.snmprec @@ -0,0 +1,13 @@ +1.3.6.1.2.1.1.1.0|4|SAF microwave radio;CFIP Lumina FODU v2.64.33;Model:2;HW:15;SN: 000000000000;PC: I11HJT05HA;IDU PCB: I0BMDB05_R07 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.7571.100.1.1.5.1 +1.3.6.1.2.1.1.3.0|67|4042194134 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.10.1.4.1|2|18 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.10.1.5.1|2|-46 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.10.1.9.1|2|11405000 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.10.1.10.1|2|10915000 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.12.1.6.1|2|363600 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.12.1.10.1|2|-327 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.12.1.18.1|2|363600 diff --git a/tests/snmpsim/saf_phoenix.snmprec b/tests/snmpsim/saf_phoenix.snmprec new file mode 100644 index 0000000000..4ab23aa5a6 --- /dev/null +++ b/tests/snmpsim/saf_phoenix.snmprec @@ -0,0 +1,13 @@ +1.3.6.1.2.1.1.1.0|4|SAF microwave radio;CFIP PhoeniX IDU v1.63.46;Model:3;HW:6;SN: 000000000000;PC: S0GIPT11 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.7571.100.1.1.5.1 +1.3.6.1.2.1.1.3.0|67|248425726 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.10.1.4.1|2|18 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.10.1.5.1|2|-41 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.10.1.9.1|2|10835000 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.10.1.10.1|2|11325000 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.12.1.6.1|2|362700 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.12.1.10.1|2|-307 +1.3.6.1.4.1.7571.100.1.1.5.1.1.1.12.1.18.1|2|362700 diff --git a/tests/snmpsim/unifi.snmprec b/tests/snmpsim/unifi.snmprec index 8e45da40c1..e5174c55df 100644 --- a/tests/snmpsim/unifi.snmprec +++ b/tests/snmpsim/unifi.snmprec @@ -1,6 +1,11 @@ 1.2.840.10036.3.1.2.1.3.6|4|UAP 1.3.6.1.2.1.1.1.0|4|Linux 3.3.8 #1 Wed Jan 18 09:26:53 PST 2017 mips 1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.10002.1 +1.3.6.1.2.1.1.3.0|67|187406199 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.2.1.25.1.1.0|67|195552046 1.3.6.1.4.1.10002.1.1.1.1.1.0|66|62384 1.3.6.1.4.1.10002.1.1.1.1.2.0|66|38688 1.3.6.1.4.1.10002.1.1.1.1.3.0|66|8 @@ -17,3 +22,33 @@ 1.3.6.1.4.1.10002.1.1.1.4.2.1.3.1|66|22 1.3.6.1.4.1.10002.1.1.1.4.2.1.3.2|66|24 1.3.6.1.4.1.10002.1.1.1.4.2.1.3.3|66|30 +1.3.6.1.4.1.41112.1.6.1.1.1.3.1|4|ng +1.3.6.1.4.1.41112.1.6.1.1.1.6.1|2|9 +1.3.6.1.4.1.41112.1.6.1.1.1.7.1|2|3 +1.3.6.1.4.1.41112.1.6.1.1.1.8.1|2|6 +1.3.6.1.4.1.41112.1.6.1.1.1.9.1|2|0 +1.3.6.1.4.1.41112.1.6.1.2.1.3.1|2|789 +1.3.6.1.4.1.41112.1.6.1.2.1.3.2|2|991 +1.3.6.1.4.1.41112.1.6.1.2.1.3.3|2|788 +1.3.6.1.4.1.41112.1.6.1.2.1.3.4|2|788 +1.3.6.1.4.1.41112.1.6.1.2.1.4.1|2|11 +1.3.6.1.4.1.41112.1.6.1.2.1.4.2|2|11 +1.3.6.1.4.1.41112.1.6.1.2.1.4.3|2|11 +1.3.6.1.4.1.41112.1.6.1.2.1.4.4|2|11 +1.3.6.1.4.1.41112.1.6.1.2.1.6.1|4| +1.3.6.1.4.1.41112.1.6.1.2.1.6.2|4|Main SSID +1.3.6.1.4.1.41112.1.6.1.2.1.6.3|4|guest +1.3.6.1.4.1.41112.1.6.1.2.1.6.4|4|Maintenance +1.3.6.1.4.1.41112.1.6.1.2.1.8.1|2|0 +1.3.6.1.4.1.41112.1.6.1.2.1.8.2|2|1 +1.3.6.1.4.1.41112.1.6.1.2.1.8.3|2|3 +1.3.6.1.4.1.41112.1.6.1.2.1.8.4|2|0 +1.3.6.1.4.1.41112.1.6.1.2.1.9.1|4|ng +1.3.6.1.4.1.41112.1.6.1.2.1.9.2|4|ng +1.3.6.1.4.1.41112.1.6.1.2.1.9.3|4|ng +1.3.6.1.4.1.41112.1.6.1.2.1.9.4|4|ng +1.3.6.1.4.1.41112.1.6.1.2.1.21.1|2|5 +1.3.6.1.4.1.41112.1.6.1.2.1.21.2|2|5 +1.3.6.1.4.1.41112.1.6.1.2.1.21.3|2|5 +1.3.6.1.4.1.41112.1.6.1.2.1.21.4|2|5 +1.3.6.1.6.3.10.2.1.3.0|2|1874058