Troubleshooting the SNMP API
- Last Updated: December 11, 2024
- 1 minute read
- WhatsUp Gold
- Version 2024
There are several things to keep in mind as you attempt to use the SNMP API.
Different results for different versions
Although the SNMP API works on all SNMP capable devices, the results returned depend on the SNMP version. For example, SNMPv1 and v2 return different results for the GetMultiple function. If one of the OIDs used in the fuction is incorrect, SNMPv1 returns only an error, while SNMPv2 returns results for the correct OIDs and an error for the incorrect OID.
The inability to work on certain versions of Windows with IPv6
The SNMP API does not work on the following versions of Windows when using IPv6:
- Windows 2003
- Windows XP
- Windows Vista
Maximum packet size on routers and switches
Routers and switches have a default packet size limitation of 1500 bytes. The GetMultiple will return an error if the parameter size exceeds the limit.