Event and Accounting Logs
300
System Management Guide
3HE 11018 AAAC TQZZA Edition: 01
5.12.2.1.3 Event Control Commands
event-control
Syntax event-control application-id [event-name | event-number] generate [severity-level] [throttle]
event-control application-id [event-name | event-number] suppress
no event-control application-id [event-name | event-number]
Context config>log
Description This command is used to specify that a particular event, or all events associated with an
application, are either generated or suppressed.
Events are generated by an application and contain an event number and description
explaining the cause of the event. Each event has a default designation that directs it to be
generated or suppressed.
Events are generated with a default severity level that can be modified by using the severity-
level option. For example, to change event reporting for an external alarm output on the
chassis, do the following:
Note:
1. To display a list of events, use the show>log>event-control command.
Events that are suppressed by default are typically used for debugging purposes. Events are
suppressed at the time the application requests the event’s generation. No event log entry is
generated regardless of the destination. While this feature can save processor resources,
there may be a negative effect on the ability to troubleshoot problems if the logging entries
are not generated. In reverse, the generation of too many events may cause excessive
overhead.
The rate is set with the throttle-rate command. The throttle parameter enables event
throttling for these events.
The no form of the command resets the parameters to the default setting for events for the
application or a specific event within the application. The severity-level, generate, and
suppress options will also be reset to the initial values.
1. Specify the application. config>log>event-control>chassis
2.
Specify the event name or number.
1
config>log>event-control>chassis>
extAlarmInput1Detected
3. Specify whether the event is generated
or suppressed.
config>log>event-control>chassis>
extAlarmInput1Detected>generate
4. Change the severity level (for example,
major severity).
config>log>event-control>chassis>
extAlarmInput1Detected>generate>major