Generates an SNMP alert.
object.Trap(
sObjectID As String,
iTrapID As Integer,
sTrapString As String)
The identifier of the SNMP object to which the alert message is being sent. Should not contain more than 32 sub-IDs.
The identifier of the trap message.
The description of the trap.
Integer.
This example generates the SNMP alert message "Critical error on server!" with an ID of 1 to the object whose ID is 1.3.6.1.2.1.1.3
set SNMP = CreateObject("ucx:SNMP")
X = SNMP.Trap("1.3.6.1.4.1.2106.1"," 1, "Critical error on server!")