Description
Configures the Check Point WatchDog.
Important - After changing the WatchDog configuration parameters, you must restart the WatchDog process with the cpstop and cpstart commands (which restart all Check Point processes).
Syntax
| cpwd_admin config -h -a <Configuration_Parameter_1>=<Value_1> <Configuration_Parameter_2>=<Value_2> ... <Configuration_Parameter_N>=<Value_N> -d <Configuration_Parameter_1> <Configuration_Parameter_2> ... <Configuration_Parameter_N> -p -r | 
Parameters
| Parameter | Description | 
|---|---|
| 
 | Shows built-in usage. | 
| 
 | Adds the WatchDog configuration parameters. Note - Spaces are not allowed between the name of the configuration parameter and its value. | 
| 
 | Deletes the WatchDog configuration parameters that user added with the  | 
| 
 | Shows the WatchDog configuration parameters that user added with the  | 
| 
 | Restores the default WatchDog configuration. | 
These are the available configuration parameters and the accepted values:
| Configuration Parameter | Accepted Values | Description | 
| 
 | Text string up to 128 characters | On VSX Gateway, configures the CTX value that is assigned to monitored processes, for which no CTX is specified. | 
| 
 | 
 | On VSX Gateway, configures whether the WatchDog shows the  
 | 
| 
 | 
 | If  
 | 
| 
 | 
 | Configures the maximal number of processes managed by the WatchDog. | 
| 
 | 
 | Configures whether the WatchDog restarts processes after they fail: 
 | 
| 
 | 
 | Configures the time (in seconds) the WatchDog waits after the process starts and before the WatchDog resets the process's  To see the process's startup counter, in the output of the  | 
| 
 | 
 | Configures how the WatchDog restarts the process: 
 | 
| 
 | 
 | If  | 
| 
 | 
 | Configures the time (in seconds) the WatchDog waits for a process stop command to complete. | 
| 
 | 
 | After failing  The value of the  | 
The WatchDog saves the user defined configuration parameters in the $CPDIR/registry/HKLM_registry.data file in the ": (Wd_Config" section:
| ("CheckPoint Repository Set" : (SOFTWARE : (CheckPoint : (CPshared :CurrentVersion (6.0) : (6.0 ... ... : (reserved ... ... : (Wd : (Wd_Config :Configuration_Parameter_1 ("[4]Value_1") :Configuration_Parameter_2 ("[4]Value_2") ) ) ... ... | 
Example
| [Expert@HostName:0]# cpwd_admin config -p cpWatchDog doesn't have configuration parameters [Expert@HostName:0]# [Expert@HostName:0]# cpwd_admin config -a sleep_timeout=120 no_limit=12 [Expert@HostName:0]# [Expert@HostName:0]# cpwd_admin config -p cpWatchDog Configuration parameters are: sleep_timeout : 120 no_limit : 12 [Expert@HostName:0]# [Expert@HostName:0]# cpstop ; cpstart [Expert@HostName:0]# 
 [Expert@HostName:0]# cpwd_admin config -r cpWatchDog doesn't have configuration parameters [Expert@HostName:0]# [Expert@HostName:0]# cpstop ; cpstart [Expert@HostName:0]# [Expert@HostName:0]# cpwd_admin config -p cpWatchDog doesn't have configuration parameters [Expert@HostName:0]# |