EasyManua.ls Logo

Cisco ASR 9000 Serie

Cisco ASR 9000 Serie
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Table 9: Sample EEM Policy Descriptions
DescriptionName of Policy
This policy is triggered when the _cron_entry_diag
cron entry expires.Then, the output of this fixed set
is collect for the fixed set of commands and the output
is sent by email.
periodic_diag_cmds.tcl
This policy is triggered when the
_cron_entry_procavail cron entry expires. Then the
output of this fixed set is collect for the fixed set of
commands and the output is sent by email.
periodic_proc_avail.tcl
This policy is triggered when the _cron_entry_log
cron entry expires, and collects the output for the
show log command and a few other commands. If the
environment variable _log_past_hours is configured,
it collects the log messages that are generated in the
last _log_past_hours hours. Otherwise, it collects the
full log.
periodic_sh_log.tcl
This policy is triggered when the script looks for the
sysdb timeout ios_msgs and obtains the output of the
show commands. The output is written to a file named
after the blocking process.
sl_sysdb_timeout.tcl
This policy runs using a configurable CRON entry.
It executes a configurable CLI command and e-mails
the results.
tm_cli_cmd.tcl
This policy runs at midnight each day and e-mails a
process crash history report to a specified e-mail
address.
tm_crash_hist.tcl
For more details about the sample policies available and how to run them, see the EEM Event Detector Demo:
Example , on page 82.
SUMMARY STEPS
1.
show event manager policy available [system | user]
2.
configure
3.
event manager directory user {library path | policy path}
4.
event manager policy policy-name username username [persist-time [seconds | infinite] | type [system
| user]]
5.
commit
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
65
Configuring and Managing Embedded Event Manager Policies
How to Write Embedded Event Manager Policies Using Tcl

Table of Contents

Related product manuals