hit counter script

Event_Register_Resource - 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

event_register_resource

event_register_resource
Registers for an Embedded Resource Manager (ERM) event. Use this Tcl command extension to run a policy
on the basis of an ERM event report for a specified policy. ERM events are screened by the EEM Resource
event detector, allowing an EEM policy to be run when a match occurs for the specified ERM policy.
Syntax
event_register_resource policy policy-name [queue_priority low|normal|high|last]
[maxrun ?] [nice 0|1]
Arguments
policy
policy-name
queue_priority
maxrun
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1922
(Mandatory) Specifies the use of a policy.
(Mandatory) Name of an ERM policy.
(Optional) Priority level at which the script will be
queued:
• queue_priority low--Specifies that the script is
to be queued at the lowest of the three priority
levels.
• queue_priority normal--Specifies that the script
is to be queued at a priority level greater than
low priority but less than high priority.
• queue_priority high--Specifies that the script is
to be queued at the highest of the three priority
levels.
• queue_priority last--Specifies that the script is
to be queued at the lowest priority level.
If more than one script is registered with the
"queue_priority_last" argument set, these scripts will
execute in the order in which the events are published.
Note
The queue_priority argument specifies the
queuing priority, but not the execution
priority, of the script being registered.
If this argument is not specified, the default queuing
priority is normal.
(Optional) Maximum run time of the script (specified
in SSSSSSSSSS[.MMM] format, where SSSSSSSSSS
must be an integer representing seconds between 0
and 4294967295, inclusive, and where MMM must
be an integer representing milliseconds between 0
and 999). If this argument is not specified, the default
20-second run-time limit is used.

Advertisement

Table of Contents
loading

Table of Contents