Cisco IOS XR System Monitoring Debug Command Reference, Release 3.6
Embedded Event Manager Debug Commands on Cisco IOS XR Software

Table Of Contents

Embedded Event Manager Debug Commands on Cisco IOS XR Software

debug event manager all

debug event manager api

debug event manager detector

debug event manager metricdir

debug event manager scriptdir

debug event manager server

debug event manager tcl


Embedded Event Manager Debug Commands on Cisco IOS XR Software


This chapter describes the commands used to debug Embedded Event Manager on Cisco IOS XR software.


Caution Because debugging output is assigned high priority in the CPU process, it can render the system unusable. For this reason, use debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff. Moreover, it is best to use debug commands during periods of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that increased debug command processing overhead will affect system use.

debug event manager all

To turn on debugging for the Embedded Event Manager, use the debug event manager all command in EXEC mode. To turn off debugging for the Embedded Event Manager, use the no form of this command.

debug event manager all

no debug event manager all

Syntax Description

This command has no arguments or keywords.

Defaults

Debugging is disabled.

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

Fault Manager was renamed as Embedded Event Manager.

The debug fault manager all command was replaced with the debug event manager all command.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.

Task ID

Task ID
Operations

fault-mgr

read


Examples

The following example shows how to enable Embedded Event Manager debugging:

RP/0/RP0/CPU0:router# debug event manager all

Related Commands

Command
Description

debug event manager api

Turns on debugging for the Embedded Event Manager API.

debug event manager detector

Turns on debugging for a particular Event Manager fault detector.

debug event manager metricdir

Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process.

debug event manager scriptdir

Turns on debugging for the Embedded Event Manager fm_script_dir process.

debug event manager server

Turns on debugging for the Embedded Event Manager server process.

debug event manager tcl

Turns on debugging for the Embedded Event Manager tclsh interpreter.

undebug

Enters debugging mode to disable or reset multiple active debug command sessions.


debug event manager api

To turn on debugging for the Embedded Event Manager application program interface (API), use the debug event manager api command in EXEC mode. To turn off debugging for the Embedded Event Manager API, use the no form of this command.

debug event manager api {calls | errors} [process process-name | job jobid] [location node-id]

no debug event manager api {calls | errors} [process process-name | job jobid] [location node-id]

Syntax Description

calls

Debugs calls to Embedded Event Manager client API.

errors

Debugs errors in the Embedded Event Manager client API library.

process process-name

(Optional) Displays Embedded Event Manager API debug information for a specific process. It indicates the process name or PID.

job jobid

(Optional) Displays Embedded Event Manager API debug information for a specific job identifier. It specifies the job identifier. Range is 0 to 4294967295.

location node-id

(Optional) Displays Embedded Event Manager API debug information for a specified location. The node-id argument is entered in the rack/slot/module notation.


Defaults

Debugging is disabled.

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

Fault Manager was renamed as Embedded Event Manager.

The debug fault manager api command was replaced with the debug event manager api command.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.

Task ID

Task ID
Operations

fault-mgr

read


Examples

The following example shows how to enable Embedded Event Manager API debugging:

RP/0/RP0/CPU0:router# describe debug event manager api calls job 2

Related Commands

Command
Description

debug event manager all

Turns on debugging for the Embedded Event Manager.

debug event manager detector

Turns on debugging for a particular Embedded Event Manager fault detector.

debug event manager metricdir

Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process.

debug event manager scriptdir

Turns on debugging for the Embedded Event Manager fm_script_dir process.

debug event manager server

Turns on debugging for the Embedded Event Manager server process.

debug event manager tcl

Turns on debugging for the Embedded Event Manager tclsh interpreter.

undebug

Enters debugging mode to disable or reset multiple active debug command sessions.


debug event manager detector

To turn on debugging for a particular Embedded Event Manager fault detector, use the debug event manager detector command in EXEC mode. To turn off debugging for a particular Embedded Event Manager fault detector, use the no form of this command.

debug event manager detector {none | counter | drvinfra | hardware | statistics | syslog | sysmgr [location node-id] | timer | wdsysmon [location node-id]}

no debug event manager detector {none | counter | drvinfra | hardware | statistics | syslog | sysmgr [location node-id] | timer | wdsysmon [location node-id]}

Syntax Description

none

Displays none fault detector debug information.

counter

Displays counter fault detector debug information.

drvinfra

Displays driver/infra fault detector debug information.

hardware

Displays hardware (envmon) fault detector debug information.

statistics

Displays statistics fault detector debug information.

syslog

Displays SYSLOG fault detector debug information.

sysmgr

Displays SYSMGR fault detector debug information.

location node-id

(Optional) Displays Embedded Event Manager fault detector debug information for a specified location. The node-id argument is entered in the rack/slot/module notation.

timer

Displays timer fault detector debug information.

wdsysmon

Displays WDSYSMON fault detector debug information.


Defaults

Debugging is disabled.

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

Fault Manager was renamed as Embedded Event Manager.

The debug fault manager detector command was replaced with the debug event manager detector command. The none fault detector was introduced.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.

Task ID

Task ID
Operations

fault-mgr

read


Examples

The following example shows how to enable Embedded Event Manager detector debugging:

RP/0/RP0/CPU0:router# debug event manager detector cli

Related Commands

Command
Description

debug event manager all

Turns on debugging for the Embedded Event Manager.

debug event manager api

Turns on debugging for the Embedded Event Manager API.

debug event manager metricdir

Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process.

debug event manager scriptdir

Turns on debugging for the Embedded Event Manager fm_script_dir process.

debug event manager server

Turns on debugging for the Embedded Event Manager server process.

debug event manager tcl

Turns on debugging for the Embedded Event Manager tclsh interpreter.

undebug

Enters debugging mode to disable or reset multiple active debug command sessions.


debug event manager metricdir

To turn on debugging for the Embedded Event Manager fm_metric_dir process, use the debug event manager metricdir command in EXEC mode. To turn off debugging for the Embedded Event Manager fm_metric_dir process, use the no form of this command.

debug event manager metricdir

no debug event manager metricdir

Syntax Description

This command has no arguments or keywords.

Defaults

Debugging is disabled.

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

Fault Manager was renamed as Embedded Event Manager.

The debug fault manager metricdir command was replaced with the debug event manager metricdir command.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.

Task ID

Task ID
Operations

fault-mgr

read


Examples

The following example shows how to enable Embedded Event Manager fm_metric_dir process debugging:

RP/0/RP0/CPU0:router# debug event manager metricdir

Related Commands

Command
Description

debug event manager all

Turns on debugging for the Embedded Event Manager.

debug event manager api

Turns on debugging for the Embedded Event Manager API.

debug event manager detector

Turns on debugging for a particular Embedded Event Manager detector.

debug event manager scriptdir

Turns on debugging for Embedded Event Manager fm_script_dir process.

debug event manager server

Turns on debugging for Embedded Event Manager server process.

debug event manager tcl

Turns on debugging for the Embedded Event Manager tclsh interpreter.

undebug

Enters debugging mode to disable or reset multiple active debug command sessions.


debug event manager scriptdir

To turn on debugging for the Embedded Event Manager fm_script_dir process, use the debug event manager scriptdir command in EXEC mode. To turn off debugging for the Embedded Event Manager fm_script_dir process, use the no form of this command.

debug event manager scriptdir

no debug event manager scriptdir

Syntax Description

This command has no arguments or keywords.

Defaults

Debugging is disabled.

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

Fault Manager was renamed as Embedded Event Manager.

The debug fault manager scriptdir command was replaced with the debug event manager scriptdir command.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.

Task ID

Task ID
Operations

fault-mgr

read


Examples

The following example shows how to enable Embedded Event Manager fm_script_dir process debugging:

RP/0/RP0/CPU0:router# debug event manager scriptdir

Related Commands

Command
Description

debug event manager all

Turns on debugging for the Embedded Event Manager.

debug event manager api

Turns on debugging for the Embedded Event Manager API.

debug event manager detector

Turns on debugging for a particular Embedded Event Manager fault detector.

debug event manager metricdir

Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process.

debug event manager server

Turns on debugging for the Embedded Event Manager server process.

debug event manager tcl

Turns on debugging for the Embedded Event Manager tclsh interpreter.

undebug

Enters debugging mode to disable or reset multiple active debug command sessions.


debug event manager server

To turn on debugging for the Embedded Event Manager server process, use the debug event manager server command in EXEC mode. To turn off debugging for the Embedded Event Manager server process, use the no form of this command.

debug event manager server {events | scheduling}

no debug event manager server {events | scheduling}

Syntax Description

events

Debugs Embedded Event Manager server events.

scheduling

Debugs Embedded Event Manager server policy scheduling.


Defaults

Debugging is disabled.

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

Fault Manager was renamed as Embedded Event Manager.

The debug fault manager server command was replaced with the debug event manager server command.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.

Use this command to turn on debugging for the Embedded Event Manager server process.

Task ID

Task ID
Operations

fault-mgr

read


Examples

The following example shows how to enable Embedded Event Manager server process debugging:

RP/0/RP0/CPU0:router# debug event manager server events

Related Commands

Command
Description

debug event manager all

Turns on debugging for the Embedded Event Manager.

debug event manager api

Turns on debugging for the Embedded Event Manager API.

debug event manager detector

Turns on debugging for a particular Embedded Event Manager fault detector.

debug event manager metricdir

Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process.

debug event manager tcl

Turns on debugging for the Embedded Event Manager tclsh interpreter.

undebug

Enters debugging mode to disable or reset multiple active debug command sessions.


debug event manager tcl

To turn on debugging for the Embedded Event Manager tclsh interpreter, use the debug event manager tcl command in EXEC mode. To turn off debugging for the Embedded Event Manager tclsh interpreter, use the no form of this command.

debug event manager tcl

no debug event manager tcl

Syntax Description

This command has no arguments or keywords.

Defaults

Debugging is disabled.

Command Modes

EXEC

Command History

Release
Modification

Release 2.0

This command was introduced on the Cisco CRS-1.

Release 3.0

No modification.

Release 3.2

This command was supported on the Cisco XR 12000 Series Router.

Release 3.3.0

No modification.

Release 3.4.0

No modification.

Release 3.5.0

No modification.

Release 3.6.0

Fault Manager was renamed as Embedded Event Manager.

The debug fault manager tcl command was replaced with the debug event manager tcl command.


Usage Guidelines

To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS XR Software module of the Cisco IOS XR System Security Configuration Guide.

Debugging output is assigned high priority in the CPU process and, therefore, can affect system performance. For more information about the impact on system performance when using debug commands, refer to Using Debug Commands on Cisco IOS XR Software.

Task ID

Task ID
Operations

fault-mgr

read


Examples

The following example shows how to enable Embedded Event Manager tclsh interpreter debugging:

RP/0/RP0/CPU0:router# debug event manager tcl

Related Commands

Command
Description

debug event manager all

Turns on debugging for the Embedded Event Manager.

debug event manager api

Turns on debugging for the Embedded Event Manager API.

debug event manager detector

Turns on debugging for a particular Embedded Event Manager fault detector.

debug event manager metricdir

Turns on debugging for the Embedded Event Manager reliability metric data (fm_metric_dir) process.

debug event manager scriptdir

Turns on debugging for the Embedded Event Manager fm_script_dir process.

debug event manager server

Turns on debugging for Embedded Event Manager server process.

undebug

Enters debugging mode to disable or reset multiple active debug command sessions.