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
Содержание Catalyst 2960 Series
Страница 78: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches lxxviii Contents ...
Страница 96: ......
Страница 184: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 102 Additional References ...
Страница 195: ...P A R T II IP Multicast Routing Configuring IGMP Snooping and Multicast VLAN Registration page 115 ...
Страница 196: ......
Страница 250: ......
Страница 292: ......
Страница 488: ......
Страница 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Страница 590: ......
Страница 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Страница 620: ......
Страница 749: ...P A R T VIII Routing Configuring IP Unicast Routing page 669 Configuring IPv6 First Hop Security page 677 ...
Страница 750: ......
Страница 796: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 714 Additional References ...
Страница 856: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 774 Additional References ...
Страница 1400: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1318 Additional References ...
Страница 1546: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1464 Auto Identity ...
Страница 1596: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1514 Additional References ...
Страница 1604: ......
Страница 1740: ......
Страница 1764: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1682 Additional References ...
Страница 1942: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1860 cli_write ...
Страница 1950: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1868 context_save ...
Страница 2058: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1976 event_register_wdsysmon ...
Страница 2076: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 1994 smtp_subst ...
Страница 2090: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 2008 sys_reqinfo_syslog_history ...
Страница 2104: ...Consolidated Platform Configuration Guide Cisco IOS Release 15 2 4 E Catalyst 2960 X Switches 2022 unregister_counter ...
Страница 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Страница 2106: ......
Страница 2118: ......
Страница 2164: ......