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
Trying to do a snmp scan using v3 protocol but getting [debug] #1, - scanning 172.16.10.130 with SNMP, credentials [v3_glpi]: no result, Time synchronization failed during discovery in the log.
To reproduce
Go to agent toolbox
Add a snmp v3 credential with username, md5 authentication and des pricacy.
Add IP range that targets device
Add Inventory task that uses range and credentials.
Run Task
getting error in the log [debug] #1, - scanning 172.16.10.130 with SNMP, credentials [v3]: no result, Time synchronization failed during discovery
Expected behavior
I expect the agent being able to get information from the device using snmp v3 protocol.
It works with snmpwalk -v3 -l authPriv -u "$SNMP_USER" -a MD5 -A "$SNMP_AUTH" -x DES -X "$SNMP_PRIV" $SNMP_IP
Operating system
Windows
GLPI Agent version
v1.11
GLPI version
10.0.15
GLPIInventory plugin or other plugin version
GLPI Inventory v1.x.x (See additional context below)
Additional context
GLPI Inventory plugin version 1.4.0 but it never gets that far.
The error by itself is not originally generated by glpi-agent but by the Net::SNMP library we are using. The Net::SNMP issue seems to suggest this could be a device problem not fully supporting RFC 3414. Have you checked if a device firmware update is available ? If not, you should first contact the device manufacturer support to know if they are aware of the problem and if they have a solution.
From the glpi-agent point of view, for such a poorly designed device, you can only use an older protocol. Or maybe try to use SHA protocol and/or AES encryption, using more recent standard may also help device to behave as expected by our used library.
Bug reporting acknowledgment
Yes, I read it
Professional support
Yes, I know
Describe the bug
Trying to do a snmp scan using v3 protocol but getting
[debug] #1, - scanning 172.16.10.130 with SNMP, credentials [v3_glpi]: no result, Time synchronization failed during discovery
in the log.To reproduce
[debug] #1, - scanning 172.16.10.130 with SNMP, credentials [v3]: no result, Time synchronization failed during discovery
Expected behavior
I expect the agent being able to get information from the device using snmp v3 protocol.
It works with
snmpwalk -v3 -l authPriv -u "$SNMP_USER" -a MD5 -A "$SNMP_AUTH" -x DES -X "$SNMP_PRIV" $SNMP_IP
Operating system
Windows
GLPI Agent version
v1.11
GLPI version
10.0.15
GLPIInventory plugin or other plugin version
GLPI Inventory v1.x.x (See additional context below)
Additional context
GLPI Inventory plugin version 1.4.0 but it never gets that far.
beginning of snmp walk output
The text was updated successfully, but these errors were encountered: