Hi!
These are my versions:
Telegraf version: 1.36.3
OS: SUSE
I am having this error:
2025-11-19T11:57:43Z I! Loading config: /home/paas/telegraf/conf/telegraf.conf
2025-11-19T11:57:43Z I! Loading config: /home/paas/telegraf/test/INPUTS_HOST-RESOURCES-MIB-hrSWRunPerfTable.conf
2025-11-19T11:57:43Z I! Loading config: /home/paas/telegraf/test/OUTPUT-MYSQL.conf
2025-11-19T11:57:43Z I! Loading config: /home/paas/telegraf/test/PROCESSOR_CONVERTER.conf
2025-11-19T11:57:43Z I! Loading config: /home/paas/telegraf/test/PROCESSOR_REGEXS.conf
2025-11-19T11:57:43Z I! Loading config: /home/paas/telegraf/test/PROCESSOR_STRINGS.conf
2025-11-19T11:57:43Z I! Starting Telegraf 1.36.3 brought to you by InfluxData the makers of InfluxDB
2025-11-19T11:57:43Z I! Available plugins: 239 inputs, 9 aggregators, 35 processors, 26 parsers, 65 outputs, 6 secret-stores
2025-11-19T11:57:43Z I! Loaded inputs: snmp
2025-11-19T11:57:43Z I! Loaded aggregators:
2025-11-19T11:57:43Z I! Loaded processors: converter regex strings
2025-11-19T11:57:43Z I! Loaded secretstores:
2025-11-19T11:57:43Z W! ^[[31mOutputs are not used in testing mode!^[[0m
2025-11-19T11:57:43Z I! Tags enabled: host=ARBBCWP_GDE_DSS01
2025-11-19T11:57:43Z W! [agent] ^[[33mThe default value of 'skip_processors_after_aggregators' will change to 'true' with Telegraf v1.40.0! If you need the current default behavior, please explicitly set the option to 'false'!^[[0m
2025-11-19T11:58:07Z E! [inputs.snmp] Error in plugin: agent udp://192.168.1.3:161: gathering table HOST-RESOURCES-MIB::hrSWRunPerfTable: performing bulk walk for field HOST-RESOURCES-MIB::hrSWRunPerfCPU: error in unmarshalResponse: error decoding value: bytes: 02 05 00 80 1e 56 5b 30 12 06 0c 2b 06 01 02 01 19 05 01 01 01 87 7c 02 02 1a e5 30 13 06 0c 2b 06 01 02 01 19 05 01 01 01 89 1f 02 03 12 8f 14 30 11 06 0c 2b 06 01 02 01 19 05 01 01 01 89 20 02 01 00 30 13 06 0c 2b 06 01 02 01 19 05 01 01 01 89 4f 02 03 02 07 48 30 11 06 0c 2b 06 01 02 01 19 05 01 01 01 89 50 02 01 00 30 14 06 0c 2b 06 01 02 01 19 05 01 01 01 89 61 02 04 00 87 59 a0 err: integer too large
2025-11-19T11:58:07Z E! [telegraf] Error running agent: input plugins recorded 1 errors
This is the plugin code:
[[inputs.snmp]]
agents = ["udp://192.168.1.3:161"]
timeout = "30s"
version = 2
community = "GRsnmp123"
retries = 10
max_repetitions = 20
#interval = "5m"
interval = "24h"
collection_jitter = "1h"
unconnected_udp_socket = true
agent_host_tag = "source"
tagexclude = ["host"]
name = "VELOCITY-MIB::velocitySWRun"
[[inputs.snmp.field]]
# "An administratively-assigned name for this managed\n node. By convention, this is the node\'s fully-qualified\n domain name. If the name is unknown, the value is\n the zero-length string."
oid = ".1.3.6.1.2.1.1.5.0"
name = "SNMPv2-MIB::sysName"
is_tag = true
[[inputs.snmp.table]]
# "The (conceptual) table of running software\n performance metrics."
#oid = ".1.3.6.1.2.1.25.5.1"
name = "HOST-RESOURCES-MIB::hrSWRunPerfTable"
inherit_tags = ["SNMPv2-MIB::sysName"]
index_as_tag = true
[[inputs.snmp.table.field]]
# "The number of centi-seconds of the total system\'s CPU\n resources consumed by this process. Note that on a\n multi-processor system, this value may increment by\n more than one centi-second in one centi-second of real\n (wall clock) time."
oid = ".1.3.6.1.2.1.25.5.1.1.1"
name = "HOST-RESOURCES-MIB::hrSWRunPerfCPU"
[[inputs.snmp.table.field]]
# "The total amount of real system memory allocated to\n this process."
oid = ".1.3.6.1.2.1.25.5.1.1.2"
name = "HOST-RESOURCES-MIB::hrSWRunPerfMem"
I did an snmpwalk and checked that all the values received are within integer range.
snmpwalk -v2c -Oa -c xxxxxxxx 192.168.1.3 .1.3.6.1.2.1.25.5.1.1.1
This the output:
snmpwalk_output.txt (38.0 KB)
I run the same plugin against some other servers without problems, this is an example:
Test_ok_output.txt (158.9 KB)
Any clue?
Regards!
