Cisco XR 1200 series Command Reference Manual page 91

Cisco ios xr system monitoring command reference
Table of Contents

Advertisement

Embedded Event Manager Commands
To create user library directory before identifying it to the EEM, use the mkdir command in EXEC mode.
After creating the user library directory, use the copy command to copy the .tcl library files into the user
library directory.
User Policy
A user policy directory is essential to store the user-defined policy files. If you do not plan to write EEM
policies, you do not have to create a user policy directory. The EEM searches the user policy directory when
you enter the event manager policy policy-name user command.
To create a user policy directory before identifying it to the EEM, use the mkdir command in EXEC mode.
After creating the user policy directory, use the copy command to copy the policy files into the user policy
directory.
Task ID
Task ID
eem
Examples
This example shows how to set the pathname for a user library directory to /usr/lib/tcl on disk0:
RP/0/0/CPU0:router(config)# event manager directory user library disk0:/usr/lib/tcl
This example shows how to set the location of the EEM user policy directory to /usr/fm_policies on disk0:
RP/0/0/CPU0:router(config)# event manager directory user policy disk0:/usr/fm_policies
Related Commands
Command
event manager policy, on page 82
show event manager directory user, on page 90
OL-24735-01
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
Operations
read, write
Description
Registers an EEM policy with the EEM.
Displays the directory name for storing user library
and policy files.
event manager directory user
79

Advertisement

Table of Contents
loading

Table of Contents