Event Cli - HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

Table 57 Command output
Field
Total number
PolicyName
Policy Type
Event Type
TimeRegistered
User-role

event cli

Use event cli to configure a CLI event for a CLI-defined monitor policy.
Use undo event to delete the event in a CLI-defined monitor policy.
Syntax
event cli { async [ skip ] | sync } mode { execute | help | tab } pattern regular-exp
undo event
Default
No CLI event is configured.
Views
CLI-defined policy view
Predefined user roles
network-admin
Parameters
async [ skip ]: Enables or disables the system to execute the command that triggers the policy. If
you specify the skip keyword, the system executes the actions in the policy without executing the
command that triggers the policy. If you do not specify the skip keyword, the system executes both
the actions in the policy and the command entered at the CLI.
sync: Enables the system to execute the command that triggers the event only if the policy has been
executed successfully.
mode { execute | help | tab }: Specifies the CLI operation to monitor:
execute: Triggers the policy when a matching command is entered.
help: Triggers the policy when a question mark (?) is entered at a matching command line.
tab: Triggers the policy when the Tab key is pressed to complete a parameter in a matching
command line.
pattern regular-exp: Specifies a regular expression for matching commands that trigger the policy.
For more information about using regular expressions, see Fundamentals Configuration Guide.
network-admin
Description
Total number of the monitor polices.
Name of the monitor policy.
Policy creation method:
TCL—The policy was configured by using Tcl.
CLI—The policy was configured from the CLI.
Event type, including CLI, hotplug, interface, process, SNMP, SNMP-Notification,
Syslog, and track.
Time when the policy was created.
User roles for executing the monitor policy. To execute the monitor policy, an
administrator must have a minimum of one of the displayed user roles.
245

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents