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
363 lines
14 KiB
JSON
363 lines
14 KiB
JSON
{
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.25053.3.1.5.2",
|
|
"sysDescr": "Ruckus Wireless ZD1106",
|
|
"sysContact": null,
|
|
"version": null,
|
|
"hardware": null,
|
|
"features": null,
|
|
"os": "ruckuswireless",
|
|
"type": "wireless",
|
|
"serial": null,
|
|
"icon": "ruckus.svg",
|
|
"location": null
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.25053.3.1.5.2",
|
|
"sysDescr": "Ruckus Wireless ZD1106",
|
|
"sysContact": "<private>",
|
|
"version": "9.7.2.0 build 20 (US)",
|
|
"hardware": "ZD1106",
|
|
"features": "Licenses: 13/12",
|
|
"os": "ruckuswireless",
|
|
"type": "wireless",
|
|
"serial": "431323000588",
|
|
"icon": "ruckus.svg",
|
|
"location": "<private>"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"processors": {
|
|
"discovery": {
|
|
"processors": [
|
|
{
|
|
"entPhysicalIndex": 0,
|
|
"hrDeviceIndex": 0,
|
|
"processor_oid": ".1.3.6.1.4.1.25053.1.2.1.1.1.5.58.0",
|
|
"processor_index": "0",
|
|
"processor_type": "ruckuszd",
|
|
"processor_usage": 7,
|
|
"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": "ruckuswireless",
|
|
"mempool_precision": 100,
|
|
"mempool_descr": "System 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": "ruckuswireless",
|
|
"mempool_precision": 100,
|
|
"mempool_descr": "System Memory",
|
|
"mempool_perc": 26,
|
|
"mempool_used": 26,
|
|
"mempool_free": 74,
|
|
"mempool_total": 100,
|
|
"mempool_largestfree": null,
|
|
"mempool_lowestfree": null,
|
|
"mempool_deleted": 0,
|
|
"mempool_perc_warn": 90
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"wireless": {
|
|
"discovery": {
|
|
"wireless_sensors": [
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "ap-count",
|
|
"sensor_index": "1",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "Connected APs",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_aggregator": "sum",
|
|
"sensor_current": 11,
|
|
"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.25053.1.2.1.1.1.15.1.0\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "ap-count",
|
|
"sensor_index": "2",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "Total APs",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_aggregator": "sum",
|
|
"sensor_current": 13,
|
|
"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.25053.1.2.1.1.1.15.15.0\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "1",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "SSID: <private>",
|
|
"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.25053.1.2.2.1.1.1.1.1.12.1\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "2",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "SSID: <private>",
|
|
"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.25053.1.2.2.1.1.1.1.1.12.2\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "3",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "SSID: <private>",
|
|
"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.25053.1.2.2.1.1.1.1.1.12.3\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "4",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "System Total:",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_aggregator": "sum",
|
|
"sensor_current": 23,
|
|
"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.25053.1.2.1.1.1.15.2.0\"]"
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"wireless_sensors": [
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "ap-count",
|
|
"sensor_index": "1",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "Connected APs",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_aggregator": "sum",
|
|
"sensor_current": 11,
|
|
"sensor_prev": 11,
|
|
"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.25053.1.2.1.1.1.15.1.0\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "ap-count",
|
|
"sensor_index": "2",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "Total APs",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_aggregator": "sum",
|
|
"sensor_current": 13,
|
|
"sensor_prev": 13,
|
|
"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.25053.1.2.1.1.1.15.15.0\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "1",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "SSID: <private>",
|
|
"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.25053.1.2.2.1.1.1.1.1.12.1\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "2",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "SSID: <private>",
|
|
"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.25053.1.2.2.1.1.1.1.1.12.2\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "3",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "SSID: <private>",
|
|
"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.25053.1.2.2.1.1.1.1.1.12.3\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "4",
|
|
"sensor_type": "ruckuswireless",
|
|
"sensor_descr": "System Total:",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_aggregator": "sum",
|
|
"sensor_current": 23,
|
|
"sensor_prev": 23,
|
|
"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.25053.1.2.1.1.1.15.2.0\"]"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|