mirror of
				https://github.com/KevinMidboe/mktxp-no-cli.git
				synced 2025-10-29 17:50:23 +00:00 
			
		
		
		
	initial WifiWave2 support+installed packages collector
This commit is contained in:
		| @@ -28,7 +28,7 @@ class WLANCollector(BaseCollector): | ||||
|             return | ||||
|  | ||||
|         monitor_labels = ['channel', 'noise_floor', 'overall_tx_ccq', 'registered_clients'] | ||||
|         monitor_records = InterfaceMonitorMetricsDataSource.metric_records(router_entry, metric_labels = monitor_labels, kind = 'wireless')    | ||||
|         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 | ||||
|             noise_floor_records = [monitor_record for monitor_record in monitor_records if monitor_record.get('noise_floor')] | ||||
| @@ -78,4 +78,3 @@ class WLANCollector(BaseCollector): | ||||
|                 yield registration_metrics | ||||
|  | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user