On 2021-03-29 19:39, Rizwan Khan wrote:
Guys, a question regarding snmp_exporter, as it runs as proxy and
fetches snmp from other machines unlike node_exporter, I am having an
issue. The customer I am working on has given access to snmp only over
localhost [1] .. whats the best way to make it work? One idea I had
was to ssh tunnel over some port and then use that port as proxy ..
but how do i use it with snmp_exporter? any other suggestions are
welcome ..

Localhost for what? I'd normally associate SNMP with monitoring things like network switches rather than servers, where local only access makes little sense. If you are talking about full servers which are running SNMPd you'd be much better off ignoring that totally and instead using standard exporters such as node exporter, etc. - SNMP is great as a generic protocol that pretty much all network equiptment supports, but for a Linux or Windows machine the normal exporters are much quicker, more reliable and support more detailed information.

--
Stuart Clark

--
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/fe15723c436f47a76e1ede25e1f29755%40Jahingo.com.

Reply via email to