Monitoring MikroTik Router with Prometheus: HTTP 500 Error - Need Help

Hello forum members,

I’m currently working on setting up Prometheus to monitor my MikroTik router, but I’m encountering an issue where the router is detected as down with an HTTP status 500 Internal Server Error. I’m seeking assistance to troubleshoot and resolve this problem.

Description of the Problem:

  • When I attempt to scrape metrics from my MikroTik router using Prometheus, I receive an HTTP status 500 Internal Server Error.

Configuration Details:

  • I have Prometheus (version 6.49.10) set up and running on static route configuration.
  • My MikroTik router has the SNMP exporter installed and configured.
  • I have similiar router model and with almost similiar configuration, but it appear to be up in Prometheus

When I attempt to scrape the metrics, I receive the following error message:
server returned HTTP status 500 Internal Server Error

I greatly appreciate any insights, suggestions, or guidance you can offer to help me resolve this issue and successfully monitor my MikroTik router with Prometheus.

Thank you in advance!
Prometheus error.JPG

I am getting the same error. Loaded 2 instances of the same MikroTik module and all the proper routing. Yet, only one is up in Prometheus and the other gives the HTTP 500 Error. Not sure if something else is needed on the Prometheus.