Configuring A Monitor Policy By Using Tcl - HPE FlexNetwork 5510 HI Series Network Management And Monitoring Configuration Manual

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

Advertisement

Step
5.
(Optional.) Assign a
user role to the policy.
6.
(Optional.) Configure
the policy runtime.
7.
Enable the policy.

Configuring a monitor policy by using Tcl

Step
1.
Edit a Tcl script file
(see
Table
2.
Download the file to
the device by using
FTP or TFTP.
3.
Enter system view.
4.
Create a Tcl-defined
policy and bind it to
the Tcl script file.
Write a Tcl script in two lines for a monitor policy, as shown in
Command
action number syslog priority level
facility local-number msg msg
Configure
switchover
action number switchover
user-role role-name
running-time time
commit
Command
N/A
21).
N/A
system-view
rtm
tcl-policy
tcl-filename
an
active/standby
action:
Remarks
The supported Tcl version is 8.5.8.
For more information about using FTP
and
Configuration Guide.
N/A
By default, the system does not have Tcl
policies.
This step enables the Tcl-defined policy.
To revise the Tcl script of a policy, you
policy-name
must suspend all monitor policies first,
and then resume the policies after you
finish revising the script. The system
cannot execute a Tcl-defined policy if
you edit its Tcl script without suspending
policies.
Table
198
Remarks
By default, a monitor policy
contains user roles that its
creator had at the time of policy
creation.
An EAA policy cannot have both
the security-audit user role and
any
other
user
roles.
previously assigned user roles
are automatically removed when
you assign the security-audit
user role to the policy. The
previously
security-audit
user
automatically removed when you
assign any other user roles to
the policy..
The
default
runtime
seconds.
By default, CLI-defined policies
are not enabled.
A CLI-defined policy can take
effect only after you perform this
step.
TFTP,
see
Fundamentals
21.
Any
assigned
role
is
is
20

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents