mirror of
https://github.com/KevinMidboe/mktxp-no-cli.git
synced 2026-02-09 17:59:37 +00:00
initial wifiwave2 capsman support
This commit is contained in:
@@ -28,6 +28,7 @@ class CapsmanCollector(BaseCollector):
|
||||
return
|
||||
|
||||
remote_caps_labels = ['identity', 'version', 'base_mac', 'board', 'base_mac']
|
||||
router_entry.wifi_package = None
|
||||
remote_caps_records = CapsmanCapsMetricsDataSource.metric_records(router_entry, metric_labels = remote_caps_labels)
|
||||
if remote_caps_records:
|
||||
remote_caps_metrics = BaseCollector.info_collector('capsman_remote_caps', 'CAPsMAN remote caps', remote_caps_records, remote_caps_labels)
|
||||
|
||||
@@ -28,6 +28,7 @@ class WLANCollector(BaseCollector):
|
||||
return
|
||||
|
||||
monitor_labels = ['channel', 'noise_floor', 'overall_tx_ccq', 'registered_clients']
|
||||
router_entry.wifi_package = None
|
||||
monitor_records = InterfaceMonitorMetricsDataSource.metric_records(router_entry, metric_labels = monitor_labels, kind = WirelessMetricsDataSource.wireless_package(router_entry))
|
||||
if monitor_records:
|
||||
# sanitize records for relevant labels
|
||||
|
||||
Reference in New Issue
Block a user