Cisco-supported scripting language for policy creation. Tcl policies can be modified using a text editor such
as Emacs. Policies must execute within a defined number of seconds of elapsed time, and the time variable
can be configured within a policy. The default is currently 20 seconds.
The table below describes the sample EEM policies.
Table 168: Sample EEM Policy Descriptions
Description
Name of Policy
Introduced with Cisco Software Modularity images.
This policy monitors for cdp2.iosproc process abort
events. It will log a message to SYSLOG and send
an e-mail with the details of the abort.
pr_cdp_abort.tcl
Introduced with Cisco Software Modularity images.
This policy monitors for all process abort events.
When an event occurs, the policy will send crash
information, including the crashdump file, to the
specified URL where a CGI script processes the data.
pr_crash_reporter.tcl
Introduced with Cisco Software Modularity images.
This policy monitors for iprouting.iosproc process
abort events. It will log a message to SYSLOG and
send an e-mail with the details of the abort.
pr_iprouting_abort.tcl
This policy runs when a configurable syslog message
is logged. It will execute a configurable CLI command
and e-mail the results.
sl_intf_down.tcl
This policy runs using a configurable CRON entry.
It will execute a configurable CLI command and
e-mail the results.
tm_cli_cmd.tcl
Introduced with Cisco Software Modularity images.
This policy runs at midnight every day and e-mails a
process crash history report to a specified e-mail
address.
tm_crash_history.tcl
This policy runs 5 seconds after it is registered. If the
policy is saved in the configuration, it will also run
each time that the device is reloaded. The policy will
prompt for the reload reason. If the reload was due
to a crash, the policy will search for the latest
crashinfo file and send this information to a specified
URL location.
tm_crash_reporter.tcl
Introduced with Cisco Software Modularity images.
This policy runs using a configurable CRON entry
and monitors disk space usage. A syslog message will
be displayed if disk space usage crosses configurable
thresholds.
tm_fsys_usage.tcl
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1783
How to Write Embedded Event Manager Policies Using Tcl
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......