When quotation marks are used around the string, spaces are allowed in the string.
log
Logs an event.
-
trap
Sends a trap message about an event to an NMS.
-
object
Specifies the community name of the NMS receiving trap messages.
The name is a string of 1 to 127 characters.
log-trap
Logs an even and sends a trap message to an NMS.
-
none
Specifies no behaviors. If the event is triggered, the system will not handle it.
-
ownerowner-name
Specifies an event owner that creates the event.
The name is a string of 1 to 127 case-sensitive characters, spaces not supported.
Views
System view
Default Level
2: Configuration level
Task Name and Operations
Task Name
Operations
perf-mgr
write
Usage Guidelines
Usage Scenario
The RMON threshold alarm function triggers events. The rmon event command can be used to set a way to process the events, to record a log or send trap messages to the NMS.
Prerequisites
An alarm object has been configured using the rmon alarm command after you configure the way to process a specified event.
Example
# Enable a device to send a trap message about event 10 to an NMS.
<HUAWEI> system-view
[~HUAWEI] rmon event 10 trap public