snmp exporter Error walking target thkdc01: OID not increasing

357 views
Skip to first unread message

swon...@gmail.com

unread,
Jan 23, 2018, 5:38:33 PM1/23/18
to Prometheus Users
Hi there,

I am using snmp exporter to pull a time server (hf "endrun") for the stratum level.
The endrun allows me to scrape without any problems via snmpwalk.

Output is the following.

[user@computer~]$ snmpwalk -v2c -creadonly timeserver 1.3.6.1.4.1.13827.11.1.15
SNMPv2-SMI::enterprises.13827.11.1.15.0 = INTEGER: 16

[user@computer ~]$ snmpwalk -v2c -creadonly timeserver 1.3.6.1.4.1.13827.11.1.15.0
SNMPv2-SMI::enterprises.13827.11.1.15.0 = INTEGER: 16

With an attempt over the snmp exporter web GUI, I have the following error message.

An error has occurred during metrics gathering:

error collecting metric Desc{fqName: "snmp_error", help: "Error scraping target", constLabels: {}, variableLabels: []}: Error walking target timeserver: OID not increasing: .1.3.6.1.4.1.13827.11.1.15.0


The snmp.yml was generated by the snmp generator and below is the part of the snmp.yml for the endrun.

endrun:
  walk:
  - 1.3.6.1.4.1.13827.11.1.15
  metrics:
  - name: cntpStratum
    oid: 1.3.6.1.4.1.13827.11.1.15
    type: gauge
    help: This is an integer showing the current stratum level being reported by the
      NTP daemon in its reply packets to clients - 1.3.6.1.4.1.13827.11.1.15
  version: 2
  max_repetitions: 25
  retries: 3
  timeout: 20s
  auth:
    community: <secret>
    security_level: noAuthNoPriv
    auth_protocol: MD5
    priv_protocol: DES

Is there anyone who has the idea what goes wrong in my setup?

Thanks,
Steve
Reply all
Reply to author
Forward
0 new messages