Environment Variable
_syslog_pattern
The table below describes the EEM environment variables that must be set before the tm_cli_cmd.tcl sample
policy is run.
Table 177: Environment Variables Used in the tm_cli_cmd.tcl Policy
Environment Variable
_cron_entry
_show_cmd
The table below describes the EEM environment variables that must be set before the tm_crash_reporter.tcl
sample policy is run.
Table 178: Environment Variables Used in the tm_crash_reporter.tcl Policy
Environment Variable
_crash_reporter_debug
_crash_reporter_url
The table below describes the EEM environment variables that must be set before the tm_fsys_usage.tcl
sample policy is run.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
Configuration Examples for Writing Embedded Event Manager Policies Using Tcl
Description
A regular expression pattern match
string that is used to compare
syslog messages to determine when
the policy runs.
Description
A CRON specification that
determines when the policy will
run.
The CLI command to be executed
when the policy is run.
Description
A value that identifies whether
debug information for
tm_crash_reporter.tcl will be
enabled. This variable is optional
and need not be specified.
The URL location to which the
crash report is sent.
Example
.*UPDOWN.*FastEthernet0/0.*
Example
0-59/1 0-23/1 * * 0-7
show version
Example
1
http://www.example.com/fm/interface_tm.cgi
1805