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

Generator - get without .0 + unwanted walk #1130

Open
pszafarczyk opened this issue Mar 7, 2024 · 0 comments
Open

Generator - get without .0 + unwanted walk #1130

pszafarczyk opened this issue Mar 7, 2024 · 0 comments

Comments

@pszafarczyk
Copy link

Host operating system: output of uname -a

Linux ... 6.1.55-75.123.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Sep 26 20:06:16 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

snmp_exporter version: output of snmp_exporter -version

0.25.0

What device/snmpwalk OID are you using?

1.3.6.1.2.1.4.24 (IP-MIB)

If this is a new device, please link to the MIB(s).

What did you do that produced an error?

I am using the following generator.yml file:

[...]
modules:
  x:
    walk:
      - "1.3.6.1.2.1.4.24"
    filters:
      static:
        - targets:
          - "1.3.6.1.2.1.4.24"
          indices: ["6"]

What did you expect to see?

snmp.yml:

modules:
  x:
    get:
    - 1.3.6.1.2.1.4.24.6.0

What did you see instead?

modules:
  x:
    walk:
    - 1.3.6.1.2.1.4.24.7.1.1
    - 1.3.6.1.2.1.4.24.7.1.5
    get:
    - 1.3.6.1.2.1.4.24.6

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