Gathering packet stats from TL-SG1016DE

Gathering packet stats from TL-SG1016DE

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!

Best Regards! If you are new to the forum, please read: Howto - A Guide to Use Forum Effectively. Read Before You Post. Look for a model? Search your model NOW Official and Beta firmware. NEW features! Subscribe for the latest update!Download Beta Here☚ ☛ ★ Configuration Guide ★ ☚ ☛ ★ Knowledge Base ★ ☚ ☛ ★ Troubleshooting ★ ☚ ● Be kind and nice. ● Stay on the topic. ● Post details. ● Search first. ● Please don't take it for granted. ● No email confidentiality should be violated. ● S/N, MAC, and your true public IP should be mosaiced.
  1  
  1  
#2
Options