Using SMTP exporter remotely

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 http://localhost/|localhost … 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 …

Can’t you install snmp exporter on that host itself?
If not, ssh tunnel might indeed be a solution, but you still need access to the remote instance. And keep in mind that SNMP is running UDP, therefore it’s not just ssh -L [...]! This might work, though: https://superuser.com/a/974091