30.
Configuring the Watchdog Features
MN700004 Rev 01
340
Configuring the Application Suspension Detection
Feature
The Application Suspension Detection monitors the switch for suspended applications and
issues log notifications whenever an application is suspended. Application suspension usually
means that the execution of that particular application has gone wrong so keeping track of
suspended applications enables you detect and correct the problem in time. The Application
Suspension Detection feature can be enabled/disabled. You have also the option to specify the
applications to monitor for suspension or, alternatively, monitor all running applications.
By default, this feature is disabled.
Enabling Detection
The
add sw-watchdog application suspension
command, in Watchdog mode, enables
monitoring for suspended applications and logs notifications to the NVRAM upon detecting a
suspended application.
Command Syntax
device-name
(sw-watchdog)#
add sw-watchdog application
all|<
APPLICATION
>
suspension
Argument Description
all
Enables monitoring of all applications.
<
APPLICATION
>
Name of the application to be monitored, e.g.
tLacp
. Enables monitoring of
individual applications.
Example
To configure monitoring of the tLacp application:
device-name
(sw-watchdog)#
add sw-watchdog application
tLacp
suspension
tLacp_Susp added to watchdog
device-name
(sw-watchdog)#
Disabling Application Suspension Detection
The
remove sw-watchdog application suspension
command, in Watchdog Configuration mode,
disables the Application Detection Suspension feature and prevents the system from being
monitored for suspended applications. When the feature is disabled, no notifications for
suspended applications are sent to the NVRAM log.
Command Syntax
device-name
(sw-watchdog)#
remove sw-watchdog application
all|<
APPLICATION
>
suspension