snmp_exporter icon indicating copy to clipboard operation
snmp_exporter copied to clipboard

Indices filters does not support names, only oids

Open JDA88 opened this issue 2 years ago • 0 comments

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

JDA88 avatar Sep 20 '23 14:09 JDA88