| getsnmptrapResult Structure Definition |
The getsnmptrapResult structure defines the return type for getsnmptrap API. |
Syntax |
Members |
rc |
If the method succeeds, rc is 0 else rc > 0. Values above 0x8000 indicate Warnings. |
message |
If the method succeeds, message is NULL else message contains Error/Warning message. |
snmptrapList |
List of snmptraps |
| snmptrap Structure Definition |
The snmptrap structure defines the actual return type values for getsnmptrap API. |
Syntax |
Members |
trapclass |
Trap type specified in the trap listener entry. |
destport |
The destination port of the SNMP trap. |
communityname |
Password (string) sent with the trap messages, so that the trap listener can authenticate them. Can include 1 to 31 uppercase or lowercase letters, numbers, and hyphen (-), period (.) pound (#), space ( ), at (@), equals (=), colon (:), and underscore (_) characters.
You must specify the same community string on the trap listener device. Otherwise, the trap listener drops the trap messages.
The following requirement applies only to the Citrix ADC CLI:
If the string includes one or more spaces, enclose the name in double or single quotation marks (for example, "my string" or 'my string'). |
severity |
The minimum severity of traps to be sent to this destination. |
allpartitions |
Send traps of all partitions to this destination. |
username |
Name of the SNMP user that will send the SNMPv3 traps. |
securitylevel |
Security level of the SNMPv3 trap. |
_nextgenapiresource |
See Also |