how to send the priority (clear, major , fatal) al

2019-08-26 06:15发布

问题:

How to send the priority (clear, major , fatal) also along with the trap we are sending from the java code. i have updated the mib file , but don't know how to use this.

TrapDescWarn OBJECT-TYPE
SYNTAX INTEGER { critical(1),
major(2),
informational(3),
clear(4)
} 
MAX-ACCESS read-only 
STATUS current
DESCRIPTION "Warning from the payment interface"
 ::= { TrapDefs 10 } 
标签: snmp mib snmp4j