Fts_Get_Stamp - Cisco ASR 9000 Serie Configuration Manuals

Aggregation services router system
Table of Contents

Advertisement

Configuring and Managing Embedded Event Manager Policies
op
Result String
val_remain %d
Where val_remain is the current value of the counter.
Set _cerrno
Yes
(_cerr_sub_err =
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 = 11)
This error means that the event specification ID could not be matched when the event was being registered
or that an event detector internal event structure is corrupt.
(_cerr_sub_err = 22)
This error means that an internal EEM event detector pointer was null when it should have contained a value.
(_cerr_sub_err = 30)
This error means that the counter event detector set or modify operator was invalid.

fts_get_stamp

Returns the time period elapsed since the last software boot. Use this Tcl command extension to return the
number of nanoseconds since boot in an array "nsec nnnn" where nnnn is the number of nanoseconds.
Syntax
fts_get_stamp
Arguments
None
2)
FH_ESYSERR
FH_ENOSUCHESID
FH_ENULLPTR
FH_ECTBADOPER
Cisco ASR 9000 Series Aggregation Services Router System Monitoring Configuration Guide, Release 4.2.x
Embedded Event Manager Utility Tcl Command Extensions
(Mandatory)
• nop—Retrieves the current counter value.
• set—Sets the counter value to the given value.
• inc—Increments the counter value by the given
value.
• dec—Decrements the counter value by the given
value.
(generic/unknown error from OS/system)
(unknown event specification ID)
(event detector internal error - ptr is null)
(bad counter threshold operator)
159

Advertisement

Table of Contents
loading

Table of Contents