Gathering packet stats from TL-SG1016DE

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Gathering packet stats from TL-SG1016DE

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Gathering packet stats from TL-SG1016DE
Gathering packet stats from TL-SG1016DE
2024-11-06 06:32:04 - last edited 2024-11-07 01:55:52
Tags: #SNMP #Python
Model: TL-SG1016DE  
Hardware Version: V7
Firmware Version: 1.0.0

I have a TL-SG1016DE and I wanted to get the type of per-port traffic stats I would usually be able to get from SNMP.  Since there is no SNMP or API, I built a Python script to scrape the packet counts from the UI and send them to ElasticSearch every minute, and built a simple dashboard for tx/rx as shown below.

You can get the code at my gitlab repository at gitlab dot com / brentashley / switch-stats

port throughput dashboard 

  1      
  1      
#1
Options
1 Reply
Re:Gathering packet stats from TL-SG1016DE
2024-11-07 01:54:53

Hi @bashley 

Thanks for the amazing work here and shared on the Github.

Will mark your post as Knowledge Base.

Appreciate it!

  1  
  1  
#2
Options