06-22-2026 09:44 AM
Hello colleagues,
I was recently looking for a way to monitor the channel utilization of the access points (APs) associated with a WLC. Since the only solution I found was DNAC, and none of my clients have it, I decided to take the more challenging route and create a Python script to help me monitor how congested the APs are every minute (or at least that's the idea).
You see, while I know a little Python, I'm not an expert, so I used a GPT chat to get the script. My goal was to solve the problem of monitoring AP congestion through channel utilization, and I think I succeeded.
The script is simple and lacks many improvements, but it has worked very well for me, at least for obtaining the following data:
- Peak office hours
- APs with the highest congestion
- Channel utilization when a user performs a large download
- Congestion in specific areas.
I've attached a video demonstrating how it works so you can try it out. Feel free to use it, and if you can improve it, I'd love to see your contributions.
Requirements to run it:
- Curiosity
- A machine with Python installed
- The Netmiko library (pip install netmiko)
Values that need to be changed in the script:
IP_WLC = "x.x.x.x"
USERNAME = "user"
PASSWORD = "pass"
For some reason I can't attach the .py file, but I'm leaving it as a .txt file; you just need to change the extension, the parameters, and run it.
I hope it's useful and helps you with your monitoring or Tshoot.
06-22-2026 09:48 AM
- @mauricio-santana You may also find outputs from : https://www.cisco.com/c/en/us/support/docs/wireless/catalyst-9800-series-wireless-controllers/217738-monitor-catalyst-9800-kpis-key-performa.html#toc-hId--940480618
useful
M.
06-22-2026 09:54 AM
My only suggestion is to avoid storing username and password information within your code, that's insecure. Therefore, I suggest extracting this information from a database as a better solution.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide