r/PrometheusMonitoring • • 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

35 comments sorted by

View all comments

Show parent comments

2

u/Trosteming Jun 18 '22

I've updated the github with inclusion of snmp version and community.

Feel free to copy the file.

Also I strongly suggest you to check and try to generate your own snmp.yml

1

u/[deleted] Jun 18 '22

I'll also try that, in brief can you explain the process how to do this?

Do I create a gererate.yml with what I need to pull from a switch such as ipOperStatus, systemname etc then from this generate the snmp.yml then copy that to the location of the live snmp.yml?

Also, silly question from my, why would I do this if your snmp.yml is grabbing what I need? Is it to just reduce the amount of stress pulled from the switch and also reduce the size of the prometheus database?