librenms/tests/data/hiveos-wireless_ap130.json
Tony Murray d5656d826e
Tests dont include empty tables (#13619)
* Do not include empty tables in test data

* empty data is simpler to check now

* Update test data

* revert comment options that block update all test data

* clean existing data

* fixes

* another fix

* remov extra sensors???

* why is that using that ip...

* missed an empty table

* missed one

* restore ftos

* revert another ftos

* revert ird

* restore timos

* restore timos_7705

* oops

* double oops

* timos mpls

* timos_hc

* another timos_hc fix
2021-12-15 19:48:44 -06:00

404 lines
16 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.26928.1",
"sysDescr": "AP130, HiveOS 8.1r2a build-178408",
"sysContact": "<private>",
"version": "8.1r2a build-178408",
"hardware": "AP130",
"features": null,
"os": "hiveos-wireless",
"type": "wireless",
"serial": "01301603336863",
"icon": "aerohive.svg",
"location": "<private>"
}
]
},
"poller": "matches discovery"
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 0,
"processor_oid": ".1.3.6.1.4.1.26928.1.2.3.0",
"processor_index": "0",
"processor_type": "hiveos-wireless",
"processor_usage": 1,
"processor_descr": "Processor",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
},
"poller": "matches discovery"
},
"mempools": {
"discovery": {
"mempools": [
{
"mempool_index": "0",
"entPhysicalIndex": null,
"mempool_type": "hiveos-wireless",
"mempool_class": "system",
"mempool_precision": 1,
"mempool_descr": "Memory",
"mempool_perc": 47,
"mempool_perc_oid": ".1.3.6.1.4.1.26928.1.2.4.0",
"mempool_used": 47,
"mempool_used_oid": null,
"mempool_free": 53,
"mempool_free_oid": null,
"mempool_total": 100,
"mempool_total_oid": null,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 90
}
]
},
"poller": "matches discovery"
},
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.26928.1.2.10.0",
"sensor_index": "0",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Internal Temperature",
"group": null,
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 52,
"sensor_limit": 72,
"sensor_limit_warn": null,
"sensor_limit_low": 42,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"state_name": null
}
]
},
"poller": "matches discovery"
},
"wireless": {
"discovery": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "1",
"sensor_type": "HiveosWireless",
"sensor_descr": "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.26928.1.2.9.0\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi0",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 16,
"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.26928.1.1.1.2.1.5.1.2.5\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi1",
"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.26928.1.1.1.2.1.5.1.2.6\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "noise-floor",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Noise floor wifi0",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -95,
"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.26928.1.1.1.2.1.5.1.3.5\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "noise-floor",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Noise floor wifi1",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -95,
"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.26928.1.1.1.2.1.5.1.3.6\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi0",
"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.26928.1.1.1.2.1.5.1.1.5\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi1",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 5180,
"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.26928.1.1.1.2.1.5.1.1.6\"]"
}
]
},
"poller": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "clients",
"sensor_index": "1",
"sensor_type": "HiveosWireless",
"sensor_descr": "Clients",
"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.26928.1.2.9.0\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi0",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 16,
"sensor_prev": 16,
"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.26928.1.1.1.2.1.5.1.2.5\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi1",
"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.26928.1.1.1.2.1.5.1.2.6\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "noise-floor",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Noise floor wifi0",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -95,
"sensor_prev": -95,
"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.26928.1.1.1.2.1.5.1.3.5\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "noise-floor",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Noise floor wifi1",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -95,
"sensor_prev": -95,
"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.26928.1.1.1.2.1.5.1.3.6\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "5",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi0",
"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.26928.1.1.1.2.1.5.1.1.5\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "6",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi1",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 5180,
"sensor_prev": 5180,
"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.26928.1.1.1.2.1.5.1.1.6\"]"
}
]
}
}
}