Configuration Examples For Event Management Policies; Environmental Variables Configuration: Example; User-Defined Embedded Event Manager Policy Registration: Example - Cisco ASR 9000 Serie Configuration Manuals

Aggregation services router system
Table of Contents

Advertisement

Configuration Examples for Event Management Policies

Command or Action
Step 8
event manager directory user policy path
Example:
RP/0/RSP0/CPU0:router(config)# event manager
directory user policy disk2:/eem_policies
Step 9
event manager policy policy-name username
username [persist-time [seconds | infinite] | type
[system | user]]
Example:
RP/0/RSP0/CPU0:router(config)# event manager
policy packagetest.tcl username user_a
Step 10
event manager run policy [argument]
Example:
RP/0/RSP0/CPU0:router(config)# event manager
run packagetest.tcl
Step 11
commit
Configuration Examples for Event Management Policies

Environmental Variables Configuration: Example

This configuration sets the environment variable cron_entry:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router#(config)# event manager environment _cron_entry 0-59/2 0-23/1 * * 0-7

User-Defined Embedded Event Manager Policy Registration: Example

This configuration registers a user-defined event management policy:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# event manager policy cron.tcl username tom user
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
80
Configuring and Managing Embedded Event Manager Policies
Purpose
Specifies the EEM user policy directory; this is the directory to
which the file in
Step 5, on page
Registers a user-defined EEM policy.
Manually runs an EEM policy.
79was copied.

Advertisement

Table of Contents
loading

Table of Contents