librenms/tests/data/radwin_5550-0h50.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

181 lines
7.4 KiB
JSON

{
"wireless": {
"discovery": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "rssi",
"sensor_index": "0",
"sensor_type": "radwin",
"sensor_descr": "RSSI",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -150,
"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.4458.1000.1.1.51.7.0\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "0",
"sensor_type": "Radwin-Tx",
"sensor_descr": "Tx Power",
"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.4458.1000.1.5.4.0\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "0",
"sensor_type": "Radwin-Rx",
"sensor_descr": "Rx Power",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -60,
"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.4458.1000.1.5.9.1.0\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "distance",
"sensor_index": "0",
"sensor_type": "radwin",
"sensor_descr": "Link distance",
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 0.15,
"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.4458.1000.1.5.29.0\"]"
}
]
},
"poller": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "rssi",
"sensor_index": "0",
"sensor_type": "radwin",
"sensor_descr": "RSSI",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -150,
"sensor_prev": -150,
"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.4458.1000.1.1.51.7.0\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "0",
"sensor_type": "Radwin-Tx",
"sensor_descr": "Tx Power",
"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.4458.1000.1.5.4.0\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "power",
"sensor_index": "0",
"sensor_type": "Radwin-Rx",
"sensor_descr": "Rx Power",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -60,
"sensor_prev": -60,
"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.4458.1000.1.5.9.1.0\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "distance",
"sensor_index": "0",
"sensor_type": "radwin",
"sensor_descr": "Link distance",
"sensor_divisor": 1000,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 0.15,
"sensor_prev": 0.15,
"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.4458.1000.1.5.29.0\"]"
}
]
}
}
}