Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indices filters does not support names, only oids #1005

Open
JDA88 opened this issue Sep 20, 2023 · 0 comments
Open

Indices filters does not support names, only oids #1005

JDA88 opened this issue Sep 20, 2023 · 0 comments

Comments

@JDA88
Copy link

JDA88 commented Sep 20, 2023

Host operating system: output of uname -a

Windows 2019

snmp_exporter version: output of snmp_exporter -version

0.24.1

What did you do that produced an error?

The filter bellow des not work:

    filters:
      dynamic: 
        - oid: ifName
          targets:
            - ifAdminStatus
            - ifOperStatus
          values: ["^wan.*"]

but this one does:

    filters:
      dynamic: 
        - oid: 1.3.6.1.2.1.31.1.1.1.1
          targets:
            - 1.3.6.1.2.1.2.2.1.7
            - 1.3.6.1.2.1.2.2.1.8
          values: ["^wan.*"]

What did you expect to see?

Been able to use names like in the walk section. Would be easier to read / maintain

What did you see instead?

The probe fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant