Configuration Guide SEM Configuration
SEM features
Event detectors supported by SEM
SEM supports multiple kinds of event detectors, which have been embedded in
respective services. Events are detected during service operation to determine whether
they have occurred or not. Currently, the types of detectors supported include:
CLI event detector
CLI event detector will detect user's command line inputs. The user command lines to be
detected must have passed command line format check. The extended form of user
inputs will be subject to regulation match. Once matched, the CLI event will be triggered.
Two waiting modes are supported when the CLI event is triggered.
Synchronization mode: Once CLI event is triggered, CLI synchronously waits for
the completion of policy execution and then determines whether or not to
execute the command inputted by the user according to the result of policy
execution.
Asynchronization mode: Once CLI event is triggered, CLI will not wait for the
completion of policy execution. The configuration to ignore command execution
is supported under this mode. When so configured, the CLI will ignore this
command after the CLI event has been triggered.
Counter event detector
The counter event detector will detect the named counter within SEM. When the named
counter exceeds the specified threshold, the counter event will be triggered, after which
the counter event detection will be disabled temporarily until the counter restores to the
threshold. The value of named counter will be changed by the counter action being
executed. Therefore, other policies may accumulate the value of the counter and when
the value reaches the threshold, the counter event will be triggered and the policy will be
executed. During policy execution, the counter will be reset, allowing cyclic operation.
Application-specific event detector
The application-specific event detector will detect the application-specific event within
SEM. The internal events of SEM are published by the application-specific event action
being executed. When the application-specific event published by SEM has the same
sub-system and type with the current application-specific event, the application-specific
event will be triggered.
Interface counter event detector
Interface counter event detector will detect the interface statistical counter of the device.
Through periodic acquisition and statistics, the detector will determine whether the
interface counter has exceeded the threshold, and the counter event will be triggered
when the threshold is exceeded, after which the counter event detection will be disabled
temporarily until the interface counter reaches the recovery threshold or the out-of-service
time has exceeded its recovery cycle.