Files
librenms-librenms/tests/data/hiveos-wireless_ap130.json
Tony Murray 63c85429ae Added support for grouping sensors (#9606)
Improves visual identification for sensors

 - [x] Docs

DO NOT DELETE THIS TEXT

#### Please note

> Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting.

- [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/)

#### Testers

If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`.  If there are schema changes, you can ask on discord how to revert.
2019-01-11 22:42:56 +00:00

443 lines
18 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.26928.1",
"sysDescr": "AP130, HiveOS 8.1r2a build-178408",
"sysContact": null,
"version": null,
"hardware": "",
"features": null,
"location": null,
"os": "hiveos-wireless",
"type": "wireless",
"serial": null,
"icon": "aerohive.svg"
}
]
},
"poller": {
"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,
"location": "<private>",
"os": "hiveos-wireless",
"type": "wireless",
"serial": "01301603336863",
"icon": "aerohive.svg"
}
]
}
},
"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,
"hrDeviceIndex": null,
"mempool_type": "hiveos-wireless",
"mempool_precision": "1",
"mempool_descr": "Memory",
"mempool_perc": "0",
"mempool_used": "0",
"mempool_free": "0",
"mempool_total": "0",
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": "0",
"mempool_perc_warn": "75"
}
]
},
"poller": {
"mempools": [
{
"mempool_index": "0",
"entPhysicalIndex": null,
"hrDeviceIndex": null,
"mempool_type": "hiveos-wireless",
"mempool_precision": "1",
"mempool_descr": "Memory",
"mempool_perc": "47",
"mempool_used": "47",
"mempool_free": "53",
"mempool_total": "100",
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": "0",
"mempool_perc_warn": "75"
}
]
}
},
"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
}
],
"state_indexes": []
},
"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": 161,
"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": 161,
"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": 161,
"sensor_prev": 161,
"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": 161,
"sensor_prev": 161,
"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\"]"
}
]
}
}
}