Skip to content
Discussion options

You must be logged in to vote

found the awnser. WIth the new version of snmp_exporter once you move the auth like they mention on this page https://github.com/prometheus/snmp_exporter/blob/main/auth-split-migration.md. You now need to tell prometheus which auth to use by passing a parameter.

  - job_name: 'example job'
    scrape_interval: 60s
    scrape_timeout: 55s
    file_sd_configs:
      - files:
        - routers.json
    metrics_path: /snmp
    params:
      auth: [public_v2]    <---------------
      module: [vvb_server_stats]

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lmas-chwy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant