ExampleDescriptionEnvironment Variable
.*UPDOWN.*FastEthernet0/0.*A regular expression pattern match
string that is used to compare
syslog messages to determine when
the policy runs.
_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
ExampleDescriptionEnvironment Variable
0-59/1 0-23/1 * * 0-7A CRON specification that
determines when the policy will
run.
_cron_entry
show versionThe CLI command to be executed
when the policy is run.
_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
ExampleDescriptionEnvironment Variable
1A value that identifies whether
debug information for
tm_crash_reporter.tcl will be
enabled. This variable is optional
and need not be specified.
_crash_reporter_debug
http://www.example.com/fm/interface_tm.cgiThe URL location to which the
crash report is sent.
_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)
1805
Configuration Examples for Writing Embedded Event Manager Policies Using Tcl