Hi Folks,

*I wanted to start the exporter with snmp version 3 config using 
prometheus-snmp-exporter juju charm but looks like its not supporting SNMP 
V3 config.*

*Deployed charm:* cs:prometheus-snmp-exporter-1
https://jaas.ai/prometheus-snmp-exporter/1

*snmp.yml*
if_mib:
  walk:
  - 1.3.6.1.2.1.1
  metrics:
  - name: sysDescr
    oid: 1.3.6.1.2.1.1.1
    type: DisplayString
    help: A textual description of the entity - 1.3.6.1.2.1.1.1
  version: 3
  max_repetitions: 25
  retries: 3
  timeout: 5s
  auth:
    security_level: authPriv
    username: <user_name>
    password: <password>
    auth_protocol: MD5
    priv_protocol: AES

Exporter supposed to start with the above config, but instead it gives the 
following error, it works when I run the snmp_exporter from the downloaded 
tar from here 
<https://github.com/prometheus/snmp_exporter/releases/download/v0.19.0/snmp_exporter-0.19.0.linux-amd64.tar.gz>
.

*Error log*
Jan 18 09:37:33 apnnc01pkrw-test-3 
prometheus-snmp-exporter.snmp-exporter[9742]: time="2021-01-18T09:37:33Z" 
level=info msg="Build context (go=go1.6.2, user=, date=)" 
source="main.go:100" Jan 18 09:37:33 apnnc01pkrw-test-3 
prometheus-snmp-exporter.snmp-exporter[9742]: time="2021-01-18T09:37:33Z" 
level=fatal msg="Error parsing config file: unknown fields in module: get" 
source="main.go:105" 

Am I missing anything here?

Thanks in advance.

-- 
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/de893acf-5212-4a7e-a926-c0ca6af648b8n%40googlegroups.com.

Reply via email to