Application Watchdog; Application Watchdog Commands Example - ZyXEL Communications UAG Series Cli Reference Manual

Unified access gateway
Hide thumbs Also See for UAG Series:
Table of Contents

Advertisement

Chapter 41 Watchdog Timer

41.3 Application Watchdog

The application watchdog has the system restart a process that fails. These are the
commands. Use the
to use these commands.
Table 149 app-watchdog Commands
COMMAND
[no] app-watch-dog activate
[no] app-watch-dog auto-recover If app-watch-dog detects a dead process, app-watch-dog will try to auto recover.
[no] app-watch-dog console-
print {always|once}
[no] app-watch-dog cpu-
threshold min <1..100> max
<1..100>
[no] app-watch-dog interval
<6..300>
[no] app-watch-dog retry-count
<1..5>
[no] app-watch-dog alert
[no] app-watch-dog disk-
threshold min <1..100> max
<1..100>
[no] app-watch-dog mem-
threshold min <1..100> max
<1..100>
app-watch-dog reboot-log flush
[no] app-watch-dog sys-reboot
show app-watch-dog config
show app-watch-dog monitor-list Display the list of applications that the application watchdog is monitoring.
show app-watch-dog reboot-log

41.3.1 Application Watchdog Commands Example

The following example displays the application watchdog configuration and lists the processes that
the application watchdog is monitoring.
258
configure terminal
DESCRIPTION
Turns the application watchdog timer on or off.
The no command turns off auto-recover
Display debug messages on the console (every time they occur or once). The no
command changes the setting back to the default.
Sets the percentage thresholds for sending a CPU usage alert. The UAG starts
sending alerts when CPU usage exceeds the maximum (the second threshold you
enter). The UAG stops sending alerts when the CPU usage drops back below the
minimum threshold (the first threshold you enter). The no command changes the
setting back to the default.
Sets how frequently (in seconds) the UAG checks the system processes. The no
command changes the setting back to the default.
Set how many times the UAG is to re-check a process before considering it failed.
The no command changes the setting back to the default.
Has the UAG send an alert the user when the system is out of memory or disk space.
Sets the percentage thresholds for sending a disk usage alert. The UAG starts
sending alerts when disk usage exceeds the maximum (the second threshold you
enter). The UAG stops sending alerts when the disk usage drops back below the
minimum threshold (the first threshold you enter). The no command changes the
setting back to the default.
Sets the percentage thresholds for sending a memory usage alert. The UAG starts
sending alerts when memory usage exceeds the maximum (the second threshold
you enter). The UAG stops sending alerts when the memory usage drops back below
the minimum threshold (the first threshold you enter). The no command changes
the setting back to the default.
Flushes the reboot log record.
If auto recover fail reaches the maximum retry count, app-watch-dog reboots the
device. The no command turns off system auto reboot.
Displays the application watchdog timer settings.
Displays the application watchdog reboot log.
command to enter the configuration mode to be able
app-watchdog
UAG CLI Reference Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents