Prometheus returns 502 error

31 views
Skip to first unread message

Dmitry

unread,
Apr 27, 2020, 9:40:53 AM4/27/20
to Prometheus Users
Hello everybody! 
When I try to use snmp_exporter with a non-standard configuration with my standard Prometheus, the config is not loaded and I get 502 error.
The project developer directed me to you, maybe someone had a similar problem and tell me how to fix this problem?

Christian Hoffmann

unread,
Apr 27, 2020, 4:31:11 PM4/27/20
to Dmitry, Prometheus Users
Hi,

On 4/27/20 3:40 PM, Dmitry wrote:
> When I try to use snmp_exporter
> <https://github.com/prometheus/snmp_exporter> with a non-standard
> configuration with my standard Prometheus, the config is not loaded and
> I get 502 error.
> The project developer directed me to you, maybe someone had a similar
> problem and tell me how to fix this problem?

I think we would need some more details. What service is giving the 502
error -- Prometheus or snmp_exporter?
What request are you sending?
What does your config look like?
Are there any log messages?

Kind regards,
Christian
Message has been deleted

Dmitry

unread,
Apr 28, 2020, 10:19:40 AM4/28/20
to Prometheus Users
I fix this problem knocking the config to general view.
Reply all
Reply to author
Forward
0 new messages