Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning: Option “timeout” of plugin inputs.snmp_trap #16137

Closed
Nagendra1995 opened this issue Nov 5, 2024 · 0 comments · Fixed by #16145
Closed

DeprecationWarning: Option “timeout” of plugin inputs.snmp_trap #16137

Nagendra1995 opened this issue Nov 5, 2024 · 0 comments · Fixed by #16145
Labels
bug unexpected problem or unintended behavior

Comments

@Nagendra1995
Copy link

Relevant telegraf.conf

[[inputs.snmp_trap]]
path = [ “/usr/share/snmp/mibs” ]
service_address = “udp://:162”
version = “2c”

Logs from Telegraf

"DeprecationWarning: Option “timeout” of plugin “inputs.snmp_trap” deprecated since version 1.20.0 and will be removed in 2.0.0: unused option"

System info

1.27.3

Docker

No response

Steps to reproduce

  1. Restarting the Telegraf service after adding new community strings for the V2 Input

Expected behavior

There shouldn't be this warning because “timeout” of plugin “inputs.snmp_trap” is not used in the confing file

Actual behavior

Getting this deprecation warning

Additional info

Operating System: Red Hat Enterprise Linux 8.10 (Ootpa)
CPE OS Name: cpe:/o:redhat:enterprise_linux:8::baseos
Kernel: Linux 4.18.0-553.22.1.el8_10.x86_64
Architecture: x86-64

NAME="Red Hat Enterprise Linux"
VERSION="8.10 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"

@Nagendra1995 Nagendra1995 added the bug unexpected problem or unintended behavior label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant