mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
8899ad6d5a
* Initial Release, wireless sensor support for Openwrt * Extend Openwrt support, add more sensors * Add documentation for Openwrt Wireless Sensor support * Moved location of Openwrt.md * Update openwrt.json Co-authored-by: Tony Murray <[email protected]>
261 lines
11 KiB
JSON
261 lines
11 KiB
JSON
{
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
|
|
"sysDescr": "Linux wap-patio 5.4.35 #0 Sun Apr 26 12:19:33 2020 armv5tel",
|
|
"sysContact": null,
|
|
"version": null,
|
|
"hardware": null,
|
|
"features": null,
|
|
"os": "openwrt",
|
|
"type": "network",
|
|
"serial": null,
|
|
"icon": "openwrt.svg",
|
|
"location": null
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
|
|
"sysDescr": "Linux wap-patio 5.4.35 #0 Sun Apr 26 12:19:33 2020 armv5tel",
|
|
"sysContact": "<private>",
|
|
"version": "snapshot",
|
|
"hardware": null,
|
|
"features": null,
|
|
"os": "openwrt",
|
|
"type": "network",
|
|
"serial": null,
|
|
"icon": "openwrt.svg",
|
|
"location": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"wireless": {
|
|
"discovery": {
|
|
"wireless_sensors": [
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "1",
|
|
"sensor_type": "openwrt",
|
|
"sensor_descr": "wl-2.4G",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_aggregator": "sum",
|
|
"sensor_current": 4,
|
|
"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.8072.1.3.2.3.1.1.13.99.108.105.101.110.116.115.45.119.108.97.110.48\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "2",
|
|
"sensor_type": "openwrt",
|
|
"sensor_descr": "wl-5.0G",
|
|
"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.8072.1.3.2.3.1.1.13.99.108.105.101.110.116.115.45.119.108.97.110.49\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "3",
|
|
"sensor_type": "openwrt",
|
|
"sensor_descr": "wlan",
|
|
"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.8072.1.3.2.3.1.1.12.99.108.105.101.110.116.115.45.119.108.97.110\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "frequency",
|
|
"sensor_index": "1",
|
|
"sensor_type": "openwrt",
|
|
"sensor_descr": "wl-2.4G",
|
|
"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.8072.1.3.2.3.1.1.15.102.114.101.113.117.101.110.99.121.45.119.108.97.110.48\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "frequency",
|
|
"sensor_index": "2",
|
|
"sensor_type": "openwrt",
|
|
"sensor_descr": "wl-5.0G",
|
|
"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.8072.1.3.2.3.1.1.15.102.114.101.113.117.101.110.99.121.45.119.108.97.110.49\"]"
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"wireless_sensors": [
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "1",
|
|
"sensor_type": "openwrt",
|
|
"sensor_descr": "wl-2.4G",
|
|
"sensor_divisor": 1,
|
|
"sensor_multiplier": 1,
|
|
"sensor_aggregator": "sum",
|
|
"sensor_current": 4,
|
|
"sensor_prev": 4,
|
|
"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.8072.1.3.2.3.1.1.13.99.108.105.101.110.116.115.45.119.108.97.110.48\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "2",
|
|
"sensor_type": "openwrt",
|
|
"sensor_descr": "wl-5.0G",
|
|
"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.8072.1.3.2.3.1.1.13.99.108.105.101.110.116.115.45.119.108.97.110.49\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "clients",
|
|
"sensor_index": "3",
|
|
"sensor_type": "openwrt",
|
|
"sensor_descr": "wlan",
|
|
"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.8072.1.3.2.3.1.1.12.99.108.105.101.110.116.115.45.119.108.97.110\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "frequency",
|
|
"sensor_index": "1",
|
|
"sensor_type": "openwrt",
|
|
"sensor_descr": "wl-2.4G",
|
|
"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.8072.1.3.2.3.1.1.15.102.114.101.113.117.101.110.99.121.45.119.108.97.110.48\"]"
|
|
},
|
|
{
|
|
"sensor_deleted": 0,
|
|
"sensor_class": "frequency",
|
|
"sensor_index": "2",
|
|
"sensor_type": "openwrt",
|
|
"sensor_descr": "wl-5.0G",
|
|
"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.8072.1.3.2.3.1.1.15.102.114.101.113.117.101.110.99.121.45.119.108.97.110.49\"]"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|