Using the SNMP API
- Last Updated: February 21, 2023
- 1 minute read
- WhatsUp Gold
The WhatsUp Gold SNMP COM API has been enhanced to improve the performance of
your scripted monitors and actions. With the addition of GetMultiple , you
have the ability to get multiple OIDs within a single SNMP request. GetNext
issues the SNMP GetNext command to retrieve the value of the object that follows a specified
object. Finally, the addition of the SetFunction allows you to send SNMP
set commands to your SNMP manageable devices.
The SNMP API includes the following objects:
- CoreAsp.SnmpRqst. The main SNMP object used to send SNMP requests (Get, GetNext, Set) to a remote device.
- CoreAsp.ComResult. An object returned by certain methods of the SnmpRqst object to indicate success or failure.
- CoreAsp.ComSnmpResponse. A response object returned by certain methods of the SnmpRqst object that contain the status (either error or success) of an SNMP request and the value of the polled object(s).
Note: There are several things to keep in mind when attempting to use the SNMP
API. If you are experiencing errors, please see
Troubleshooting the SNMP API .