modules:
main: # The module name. You can have as many modules as you want.
walk: # List of OIDs to walk. Can also be SNMP object names or specific instances.
- rPDU2DeviceStatusPower
version: 3 # SNMP version to use. Defaults to 2.
# 1 will use GETNEXT, 2 and 3 use GETBULK.
max_repetitions: 25 # How many objects to request with GET/GETBULK, defaults to 25.
# May need to be reduced for buggy devices.
retries: 3 # How many times to retry a failed request, defaults to 3.
timeout: 5s # Timeout for each individual SNMP request, defaults to 5s.
auth:
# Community string is used with SNMP v1 and v2. Defaults to "public".
community: public
# v3 has different and more complex settings.
# Which are required depends on the security_level.
# The equivalent options on NetSNMP commands like snmpbulkwalk
# and snmpget are also listed. See snmpcmd(1).
username: xxx # Required, no default. -u option to NetSNMP.
security_level: xxx # Defaults to noAuthNoPriv. -l option to NetSNMP.
# Can be noAuthNoPriv, authNoPriv or authPriv.
password: xxx # Has no default. Also known as authKey, -A option to NetSNMP.
# Required if security_level is authNoPriv or authPriv.
auth_protocol: xxx # MD5, SHA, SHA224, SHA256, SHA384, or SHA512. Defaults to MD5. -a option to NetSNMP.
# Used if security_level is authNoPriv or authPriv.
priv_protocol: xxx # DES, AES, AES192, or AES256. Defaults to DES. -x option to NetSNMP.
# Used if security_level is authPriv.
priv_password: xxx # Has no default. Also known as privKey, -X option to NetSNMP.
# Required if security_level is authPriv.
context_name: xxx # Has no default. -n option to NetSNMP.
# Required if context is configured on the device.
With this configuration, the scrape is always successful, however the only metrics that are returned are as follows:
Whereas I'm expecting to see more information here. No errors in debug output of the exporter, simply:
I'm wondering if I'm missing a step or something obvious here. If anyone could provide any tips I would be greatly appreciative. I'm new to SNMP and related concepts. I've also tried with a few other OIDs and Object Names to no avail.