mirror of
https://github.com/librenms/librenms.git
synced 2024-09-22 10:58:42 +00:00
2825a7f7ec
* add ability to discover percent warning on mempools discovery * remove wierd charachters from json * remove database defaults, add defaults for Linux and Vmware * update db schema * update test data * adapt hrstorage mempools * rebase
443 lines
18 KiB
JSON
443 lines
18 KiB
JSON
{
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.26928.1",
|
|
"sysDescr": "AP230, 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": "AP230, HiveOS 8.1r2a build-178408",
|
|
"sysContact": "<private>",
|
|
"version": "8.1r2a build-178408",
|
|
"hardware": "AP250",
|
|
"features": null,
|
|
"location": "<private>",
|
|
"os": "hiveos-wireless",
|
|
"type": "wireless",
|
|
"serial": "02501608254257",
|
|
"icon": "aerohive.svg"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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,
|
|
"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": 90
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"mempools": [
|
|
{
|
|
"mempool_index": "0",
|
|
"entPhysicalIndex": null,
|
|
"hrDeviceIndex": null,
|
|
"mempool_type": "hiveos-wireless",
|
|
"mempool_precision": 1,
|
|
"mempool_descr": "Memory",
|
|
"mempool_perc": 27,
|
|
"mempool_used": 27,
|
|
"mempool_free": 73,
|
|
"mempool_total": 100,
|
|
"mempool_largestfree": null,
|
|
"mempool_lowestfree": null,
|
|
"mempool_deleted": 0,
|
|
"mempool_perc_warn": 90
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|