librenms/tests/data/hiveos-wireless.json
Jellyfrog e876299f09
Move sysContact polling to discovery (#12524)
* Move sysContact polling to discovery

* Update tests

* fixup

* fixup

* fixup

* fixup

* fixup
2021-02-11 19:04:45 -06:00

411 lines
17 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.26928.1",
"sysDescr": "AP230, HiveOS 8.1r2a build-178408",
"sysContact": "<private>",
"version": "8.1r2a build-178408",
"hardware": "AP250",
"features": null,
"os": "hiveos-wireless",
"type": "wireless",
"serial": "02501608254257",
"icon": "aerohive.svg",
"location": "<private>"
}
]
},
"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": "7",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi0",
"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.26928.1.1.1.2.1.5.1.2.7\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "8",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi1",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 19,
"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.8\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "noise-floor",
"sensor_index": "7",
"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.7\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "noise-floor",
"sensor_index": "8",
"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.8\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "7",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi0",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 2437,
"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.7\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "8",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi1",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 5825,
"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.8\"]"
}
]
},
"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": "7",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi0",
"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.26928.1.1.1.2.1.5.1.2.7\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "8",
"sensor_type": "hiveos-wireless",
"sensor_descr": "Tx Power: wifi1",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 19,
"sensor_prev": 19,
"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.8\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "noise-floor",
"sensor_index": "7",
"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.7\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "noise-floor",
"sensor_index": "8",
"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.8\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "7",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi0",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 2437,
"sensor_prev": 2437,
"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.7\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "frequency",
"sensor_index": "8",
"sensor_type": "hiveos-wireless",
"sensor_descr": "wifi1",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 5825,
"sensor_prev": 5825,
"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.8\"]"
}
]
}
},
"ports": {
"discovery": {
"ports": []
},
"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": 27,
"mempool_perc_oid": ".1.3.6.1.4.1.26928.1.2.4.0",
"mempool_used": 27,
"mempool_used_oid": null,
"mempool_free": 73,
"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": 45,
"sensor_limit": 65,
"sensor_limit_warn": null,
"sensor_limit_low": 35,
"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
}
],
"state_indexes": []
},
"poller": "matches discovery"
}
}