Troubleshooting the SNMP API

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:

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.

See Also

Using the SNMP API

CoreAsp.SnmpRqst

CoreAsp.ComResult

CoreAsp.ComSnmpResponse

Example scripts using the SNMP API