Example scripts using the SNMP API

These example scripts demonstrate the SNMP API in use. All of these examples are written in JScript.

Initialize an SNMP object with error check from a device ID

Send a standard Get and log the polled value

Send a Get using non-standard port and timeout

Walk the MIB using GetNext

Read multiple objects in one request

Reboot a Cisco device using Set

See Also

Using the SNMP API

CoreAsp.SnmpRqst

CoreAsp.ComResult

CoreAsp.ComSnmpResponse

Troubleshooting the SNMP API