HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference
258
<Sysname> display rtm policy registered
Total number: 2
PolicyName Type Event TimeRegistered User-role
test1 TCL INTERFACE Apr 21 16:33:00 2012 network-admin
test2 CLI INTERFACE Apr 21 16:35:00 2012 network-admin
Table 56 Command output
Field Descri
p
tion
JID Job ID. This field is available for the display rtm policy active command.
PolicyName Monitor policy name.
Type
Method for creating the policy:
• TCL—The policy is configured by using Tcl.
• CLI—The policy is configured from the CLI.
Event
Source of the event specified in the policy.
Options include CLI, hotplug, interface, process, SNMP, SNMP_Notification, and
SYSLOG.
TimeRegistered Time when the policy was created.
UserRole
User roles for executing the monitor policy. To execute the monitor policy, an
administrator must have at least one of the displayed user roles.
TimeActive
Time when the policy started to execute. This field is available only for the display rtm
policy active command.
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 events are configured.
Views
CLI-defined policy view
Predefined user roles
network-admin
Parameters
async [ skip ]: Enables the system to execute the command that triggers the policy without waiting for the
policy execution result. If the skip keyword is specified, the system executes the actions in the policy
without executing the command that triggers the policy. If the skip keyword is not specified, the system
executes both the actions in the policy and the command entered at the CLI.