Skip to content

how to configure snmpreceiver to poll all ifTable Metrics? #33580

Closed Answered by hhgsplk
hhgsplk asked this question in Q&A
Discussion options

You must be logged in to vote

This works.

  snmp:
    collection_interval: 10s
    endpoint: udp://192.168.1.221:161
    version: v2c
    community: XXX

    resource_attributes:
      otel-snmp.sysName:
        oid: "1.3.6.1.2.1.1.5"

    attributes:
      otel-snmp.IF-MIB.ifDescr:
        oid: "1.3.6.1.2.1.2.2.1.2"

    metrics:
      otel-snmp.IF-MIB.ifInOctets:
        description: "Interface Incoming Bytes"
        unit: "By"
        sum:
          aggregation: cumulative
          monotonic: true
          value_type: int
        column_oids:
          - oid: "1.3.6.1.2.1.2.2.1.10"
            attributes:
              - name: otel-snmp.IF-MIB.ifDescr
          - oid: "1.3.6.1.2.1.1.5"
            resource_attri…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@hhgsplk
Comment options

Answer selected by hhgsplk
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