You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
snmp_exporter version: output of snmp_exporter -version
0.25.0
What device/snmpwalk OID are you using?
no
If this is a new device, please link to the MIB(s).
no
What did you do that produced an error?
In prometheus configuration target is tcp://192.168.100.1 (I need use TCP to get data)
When I using auth for version 2(GETBULK) to get snmp data, the exporter return error.
But, when I using auth for version 1(GETNEXT), then it work.
So, I think tcp failed on version 2 is a bug?
This discussion was converted from issue #1190 on May 27, 2024 05:56.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Host operating system: output of
uname -a
Linux 5.15.0-105-generic #115-Ubuntu SMP Mon Apr 15 09:52:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
snmp_exporter version: output of
snmp_exporter -version
0.25.0
What device/snmpwalk OID are you using?
no
If this is a new device, please link to the MIB(s).
no
What did you do that produced an error?
In prometheus configuration target is tcp://192.168.100.1 (I need use TCP to get data)
When I using auth for version 2(GETBULK) to get snmp data, the exporter return error.
But, when I using auth for version 1(GETNEXT), then it work.
So, I think tcp failed on version 2 is a bug?
What did you expect to see?
version 2 result should be same with version 1
What did you see instead?
An error has occurred while serving metrics:
error collecting metric Desc{fqName: "snmp_error", help: "Error scraping target", const Labels: {module="if_mib"}, variableLabels: {}}: error walking target 192.168.100.1: invalid packet header
Beta Was this translation helpful? Give feedback.
All reactions