Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

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
Name of Policy
pr_cdp_abort.tcl
pr_crash_reporter.tcl
pr_iprouting_abort.tcl
sl_intf_down.tcl
tm_cli_cmd.tcl
tm_crash_history.tcl
tm_crash_reporter.tcl
tm_fsys_usage.tcl

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

How to Write Embedded Event Manager Policies Using Tcl
Description
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.
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.
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.
This policy runs when a configurable syslog message
is logged. It will execute a configurable CLI command
and e-mail the results.
This policy runs using a configurable CRON entry.
It will execute a configurable CLI command and
e-mail the results.
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.
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.
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.
1783

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents