event-trigger
config>log
This command enables the context to configure log events as triggers for event handlers in the EHS.
[no] event application-id event-name-id
config>log>event-trigger
This command defines a specific log event that triggers the associated event handler. Further matching criteria can be applied (with the log-filter command) to only trigger certain handlers with certain instances of the log event.
The log event consists of an application ID and event ID.
The no form of the command removes the specified log event.
the type of application that triggers the event
the numerical identifier or name of the event
[no] trigger-entry entry-id
config>log>event-trigger>event
This command configures a trigger entry for the specified log event. A trigger entry references a previously configured event handler. One or more trigger entries can be configured for the event.
Trigger entries can also be configured with a previously configured log filter.
The no form of the command removes the specified trigger entry.
the identifier of the event trigger entry
debounce occurrences [within seconds]
no debounce
config>log>event-trigger>event>trigger-entry
This command configures how many times the specified log event occurs before an action is triggered (for example, an EHS script). The number of occurrences of the event can be optionally bounded by a time window. If no time window is specified, the action is triggered every specified Nth event.
Triggering occurs at the specified Nth event, not at the end of the time window.
no debounce
the number of times the event must occur in order for EHS to trigger an action
the time window, in seconds, in which the specified number of occurrences must happen in order for EHS to trigger an action
event-handler event-handler
no event-handler
config>log>event-trigger>event>trigger-entry
This command specifies the event handler to be used for this trigger entry. The event handler must have already been configured under the config>log>event-handling>handler context.
If the log event occurs and matches the criteria configured in the log filter (see log-filter), the event handler is triggered. When the event handler is triggered, the script that is referenced by the script policy that is in turn referenced by the event handler, is executed.
the name of the event handler
log-filter filter-id
no log-filter
config>log>event-trigger>event>trigger-entry
This command specifies the log filter to be used for this trigger entry. The log filter must have already been configured under the config>log>filter context.
The log filter defines the matching criteria that must be met in order for the log event to trigger the event handler. The log filter is applied to the log event, and if the filtering decision results in a forward action, the event handler is triggered.
the log filter identifier