Closed huyujie closed 5 years ago
Based on the snmpwalk command you need to specify this oid for the CPUTotal5minRev:
oid = ".1.3.6.1.4.1.9.9.109.1.1.1.1.8.22"
Remember that snmpwalk uses a GETNEXT request that returns the next item in the tree, a closer analog for the fields in the Telegraf plugin is the snmpget command.
[[inputs.snmp.table]]
name = "ciscoCPUTotal"
#oid = "CISCO-PROCESS-MIB::cpmCPUTotalTable"
[[inputs.snmp.table.field]]
name = "cpmCPUTotal5min"
#CISCO-PROCESS-MIB::cpmCPUTotal5min
oid = "1.3.6.1.4.1.9.9.13.1.5.1.3"
@danielnelson
I have meet some problems with snmp input plugins.
when I use snmpwalk, I can obtain correct data, just like this:
but when I configure in telegraf.conf just like:
only hostname information I can get, and the result is: