Example
Description
Environment Variable
0-59/1 0-23/1 * * 0-7
(Optional) A CRON specification
that is used in the
event_register
keyword extension. If unspecified,
the _tm_fsys_usage.tcl policy is
triggered once per minute.
_tm_fsys_usage_cron
1
(Optional) When this variable is
set to a value of 1, disk usage
information is displayed for all
entries in the system.
_tm_fsys_usage_debug
disk2:98000000
(Optional) Free byte threshold for
systems or specific prefixes. If free
space falls below a given value, a
warning is displayed.
_tm_fsys_usage_ freebytes
nvram:25 disk2:5
(Optional) Disk usage percentage
thresholds for systems or specific
prefixes. If disk usage percentage
exceeds a given percentage, a
warning is displayed. If
unspecified, the default disk usage
percentage is 80 percent for all
systems.
_tm_fsys_usage_percent
Embedded Event Manager Policy Creation
EEM is a policy driven process in which the EEM policy engine receives notifications when faults and other
events occur in the Cisco software system. Embedded Event Manager policies implement recovery based on
the current state of the system and the actions specified in the policy for a given event. Recovery actions are
triggered when the policy is run.
Although there are some EEM CLI configuration and
show
commands, EEM is implemented through the
creation of policies. An EEM policy is an entity that defines an event and the actions to be taken when that
event occurs. There are two types of EEM policies: an applet or a script. An applet is a simple form of policy
that is defined within the CLI configuration. A script is a form of policy that is written in Tcl.
The creation of an EEM policy involves:
•
Selecting the event for which the policy is run.
•
Defining the event detector options associated with logging and responding to the event.
•
Defining the environment variables, if required.
•
Choosing the actions to be performed when the event occurs.
There are two ways to create an EEM policy. The first method is to write applets using CLI commands, and
the second method is to write Tcl scripts. Cisco provides enhancements to Tcl in the form of Tcl command
extensions that facilitate the development of EEM policies. Scripts are defined off the networking device
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1678
Information About Embedded Event Manager
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: ......