This error means that a control block address that was passed in the EEM API was incorrect.
(_cerr_sub_err = 22)
FH_ENULLPTR
(event detector internal error - ptr is null)
This error means that an internal EEM event detector pointer was null when it should have contained a value.
(_cerr_sub_err = 25)
FH_ESUBSEXCEED
(number of subscribers exceeded)
This error means that the number of timer or counter subscribers exceeded the maximum.
(_cerr_sub_err = 26)
FH_ESUBSIDXINV
(invalid subscriber index)
This error means that the subscriber index was invalid.
(_cerr_sub_err = 54)
FH_EFDUNAVAIL
(connection to event detector unavailable)
This error means that the event detector was unavailable.
(_cerr_sub_err = 56)
FH_EFDCONNERR
(event detector connection error)
This error means that the EEM event detector that handles this request is not available.
register_timer
Registers a timer and returns a timer event ID. This Tcl command extension is used by a timer publisher to
perform this registration before using the event ID to manipulate the timer if it does not use the
event_register_timer
command extension to register as a publisher and subscriber.
Syntax
register_timer watchdog|countdown|absolute|cron name ?
Arguments
(Mandatory) The name of the timer to be manipulated.
name
Result String
event_id %u
Where event_id is the timer event ID for the specified timer (can be used to manipulate the timer by the
timer_arm
or
timer_cancel
command extensions).
Set _cerrno
Yes
(_cerr_sub_err =
2)
FH_ESYSERR
(generic/unknown error from OS/system)
This error means that the operating system reported an error. The POSIX errno value that is reported with the
error should be used to determine the cause of the operating system error.
(_cerr_sub_err =
4)
FH_EINITONCE
(Init() is not yet done, or done twice.)
This error means that the request to register the specific event was made before the EEM event detector had
completed its initialization.
(_cerr_sub_err =
6)
FH_EBADEVENTTYPE
(unknown EEM event type)
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2016
register_timer
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: ......