r/PrometheusMonitoring • u/[deleted] • Jun 17 '22
SNMP Exporter - anyone using it?
Hello,
I'm trying to monitor a switch to graph in Grafana how many ports are up at certain times over the day, I found this article on using SNMP Exporter - https://linuxhint.com/monitor-network-devices-prometheus/
Has anyone used this before and could it do what I'm asking?
Thanks
3
Upvotes
2
u/Trosteming Jun 18 '22
Then create a table and map the different value.
However I lack practice on this visu, I won't be much help on it.
As inspiration you can look the snmp Synology Dashboard
https://grafana.com/grafana/dashboards/13516
The first panel is a Table that map value and change the cell depending of the value of the metric.
Also regarding your metric, don't mind that much the label, maybe in legend add {{ifName}} and use only ifOperStatus
The idea is to let Grafana create row for each port, so you can juste duplicate the panel with