URL structure different from webinterface and prometheus link #913
Replies: 4 comments 2 replies
-
Just like the other post, order of URL parameters doesn't matter. I recommend you use |
Beta Was this translation helpful? Give feedback.
-
Also, it appears you likely have a typo in your config. |
Beta Was this translation helpful? Give feedback.
-
thanks for the quick reply.. i'm sorry, i dont' see the typo 166 vs 168. with the debug Level here my log.. unfortunatly it doesn't provide much more informations..
|
Beta Was this translation helpful? Give feedback.
-
I don't know why.. but the URL now is working.. when i type http://myserver.domain.com:9116/snmp?module=if_mib&target=192.168.130.1 and i see the log:
but in prometheus... still error 500 |
Beta Was this translation helpful? Give feedback.
-
Hello Guys,
i have a simmular problem with this.
i have prometheus and snmp_exporter on the same machine (no docker, just debian OS)
prometheus runs on 9090 and snmp_exporter on 9116
in the prometheus config file i have declated my targets:
the other switches are running and everything is fine.
i collect the data and display my traffic with grafana.
but the firewall one is a little bit bitchy.
the snmp config on the firewall should be fine snmp v2c and public as the com.string.
on the webinterface from the snmp_exporter the firewall(called devices) gives back his information instant.
webinterface runs with this URL:
http://myserver.domain.com:9116/snmp?target=192.168.130.1&module=if_mib
fine.. i got my ifOutOctets
on the prometheus webinterface on targets.. i got the error 500 and if i click on the link i get
error getting target 192.166.130.1: request timeout (after 3 retries)
i look in the URL and its this one:
http://myserver.domain.com:9116/snmp?module=if_mib&target=192.166.130.1
so just the structure of the URL is changed.. and then error 500 on prometheus and timeout????
can you guys say me something about this. why the URL stucture changes and why it workes with just this constellation..
it makes no sense to me.
br
Ludwig
btw: i use this version
Beta Was this translation helpful? Give feedback.
All reactions