Hello all,

I want to collect only 1.3.6.1.2.1.31.1.1.1.10 and 1.3.6.1.2.1.31.1.1.1.6 
OID from my devices via snmp_exporter. Is there any way to do it? I tried 
to generate snmp.yml file and cleaned generator.yml but still i got all 
OIDs and collection them took to much time (such as 2minutes :( )

Here is generate.yml file
modules:
  if_mib:
    walk: [sysUpTime, interfaces, ifXTable]
    lookups:
      - source_indexes: [ifIndex]
        lookup: ifAlias
    overrides:
      ifAlias:
        ignore: true # Lookup metric
      ifDescr:
        ignore: true # Lookup metric
      ifName:
        ignore: true # Lookup metric
      ifType:
        type: EnumAsInfo
  customsnmp:
    walk:
      - 1.3.6.1.2.1.31.1.1.1.6 # Instance of "ifHCInOctets"
      - 1.3.6.1.2.1.31.1.1.1.10 # Instance of "ifHCOutOctets"
    auth:
      community: aliveli

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/bf1ec543-0722-4d97-8d20-f24e0f257128n%40googlegroups.com.

Reply via email to