Zyxel NXC2500 [247/275] Application watchdog commands example

Zyxel NXC2500 [247/275] Application watchdog commands example
Chapter 41 Watchdog Timer
NXC CLI Reference Guide
247
41.3.1 Application Watchdog Commands Example
The following example displays the application watchdog configuration.
[no] app-watch-dog mem-
threshold min <1..100> max
<1..100>
Sets the percentage thresholds for sending a memory usage alert. The
NXC starts sending alerts when memory usage exceeds the maximum
(the second threshold you enter). The NXC 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.
app-watch-dog reboot-log flush Flushes the reboot log record.
[no] app-watch-dog retry-count
<1..5>
Set how many times the NXC is to re-check a process before
considering it failed. The no command changes the setting back to the
default.
[no] app-watch-dog sys-reboot If auto recover fail reaches the maximum retry count, app-watch-dog
reboots the device. The no command turns off system auto reboot.
show app-watch-dog config Displays the application watchdog timer settings.
show app-watch-dog monitor-list Displays the list of applications that the application watchdog is
monitoring.
show app-watch-dog reboot-log Displays the application watchdog reboot log.
Table 136 app-watchdog Commands
COMMAND DESCRIPTION
Router# configure terminal
Router(config)# show app-watch-dog config
Application Watch Dog Setting:
activate: yes
alert: yes
console print: always
retry count: 3
auto recover: yes
system reboot: yes
interval: 60 seconds
mem threshold: 80% ~ 90%
cpu threshold: 80% ~ 90%
disk threshold: 80% ~ 90%
Router(config)#

Содержание

Скачать