librenms/tests/data/ruckuswireless_zd1100.json
Tony Murray 4d9924242f
Database schema cleanup (#9064)
* target db_schema

* Database schema cleanup
Remove several inconsistencies (mostly with data types and lengths)
Make things a bit nicer to implement with Laravel database migrations.
poller* tables had f'd up indexes

* Update tests, extra noise because db returns numeric types now.

* Update test data again.

* fix 253 migration for mysql 5.3
2018-09-05 07:34:50 -05:00

153 lines
5.7 KiB
JSON

{
"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": "9",
"processor_descr": "Processor",
"processor_precision": "1",
"processor_perc_warn": "75"
}
]
},
"poller": "matches discovery"
},
"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": "",
"features": null,
"location": null,
"os": "ruckuswireless",
"type": "wireless",
"serial": null,
"icon": "ruckus.svg"
}
]
},
"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": null,
"location": "<private>",
"os": "ruckuswireless",
"type": "wireless",
"serial": "<private>",
"icon": "ruckus.svg"
}
]
}
},
"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": "clients",
"sensor_index": "1",
"sensor_type": "ruckuswireless",
"sensor_descr": "Clients: Total",
"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.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": "clients",
"sensor_index": "1",
"sensor_type": "ruckuswireless",
"sensor_descr": "Clients: Total",
"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.1.1.1.15.2.0\"]"
}
]
}
}
}