SNMP Interface Throughput (Ubiquiti EdgeMax-16-XG)

Port statistics for my Ubiquiti EdgeMax-16-XG switch. Should work with most switches.

SNMP Interface Throughput (Ubiquiti EdgeMax-16-XG) screenshot 1
SNMP Interface Throughput (Ubiquiti EdgeMax-16-XG) screenshot 2

Some minor customization required!

1). The ports are named and sorted manually. Please edit each panel to change the names and drag them around as you see fit. By default, the panel names and order reflect my environment and will not match yours.

2). If your switch has more or fewer than 16 ports, you’ll need to add or remove panels accordingly. Usually, ifIndex of 1 = port 0/1, but you should manually query a list of ifName{} to verify ifindex matches.

3). The total throughput of my switch is 160Gbps. Edit the “Allocated Throughput” panel > Options > change Max and Thresholds. Look at your switch documentation to learn what the total throughput of your switch should be.

Installation:

Troubleshooting:

  • Make sure snmp data is working through snmp_exporter. Default is: http://localhost:9116/
  • Use snmpwalk cmd on Prometheus server to test connection to switch. Example: snmpwalk -c public -v1 10.0.0.2 | less

Tweet questions, fixes or ideas to me @gtwy

Revisions
RevisionDescriptionCreated
SNMP

SNMP

by Grafana Labs
Grafana Labs solution

Easily monitor any generic SNMP (Simple Network Management Protocol) device with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies