watchdog.cfg
Package: WA2L/edrc 1.5.57
Section: Configuration Files (4)
Updated: 08 April 2006
Index
Return to Main Contents
NAME
watchdog.cfg - configuration file for watchdog
SYNOPSIS
edrc/etc/watchdog.cfg
AVAILABILITY
WA2L/edrc
DESCRIPTION
This is the configuration file for the
watchdog
command.
FILEFORMAT
The fileformat is
OPTION=VALUE
Between the
OPTION,
the
=
and the
VALUE
are no spaces.
Rows starting with a
#
are considered as comments.
You should not comment out any
OPTION
If you like to use
default settings simply do not specify a
VALUE.
OPTIONS
- LOG
-
Log output dir of
watchdog.
If you specify a relative path name the
path is relative to the root of the WA2L/edrc installation.
-
Example: LOG=/var/opt/edrc/log
Default: LOG=var/log
- LOCKDIR
-
Lock dir of
watchdog.
If you specify a relative path name the
path is relative to the root of the WA2L/edrc installation. In General
it is not recommended to set the lockdir within EDRC, locate it
in a system own directory.
-
Example: LOCKDIR=/var/run/watchdog
Default: LOCKDIR=var/watchdog
- DEFAULT_CHECK_INTERVAL
-
Default interval of watchdog checks. This setting applies if no
interval is set on the command line.
-
Example: DEFAULT_CHECK_INTERVAL=500
Default: DEFAULT_CHECK_INTERVAL=600
- DEFAULT_CHECKLOG_INTERVAL
-
Default minimal interval of logentries in check state. This setting
applies if no interval is set on the command line. This setting should
be an even multiple of DEFAULT_CHECK_INTERVAL.
-
Example: DEFAULT_CHECKLOG_INTERVAL=3600
Default: DEFAULT_CHECKLOG_INTERVAL=6000
- DEFAULT_BITE_INTERVAL
-
Default interval of
watchdog
bites (=executes of the bite script).
This setting applies if no interval is set on the command line.
-
Example: DEFAULT_BITE_INTERVAL=15
Default: DEFAULT_BITE_INTERVAL=5
- EXEC_SHELL
-
Shell to execute the check_script and bite_script if they are not
executable.
-
Example: EXEC_SHELL=/bin/ksh
Default: EXEC_SHELL=/bin/sh
- RETRIES_ON_MISSING_SCRIPT
-
Number or retries if the check_script or bite_script is missing
after startup. If the number of retries is reached the
watchdog
will end.
0 = retry for ever
-
Example: RETRIES_ON_MISSING_SCRIPT=10
Default: RETRIES_ON_MISSING_SCRIPT=0
SEE ALSO
edrcintro(1),
watchdog(1),
sh(1)
NOTES
-
BUGS
-
AUTHOR
watchdog.cfg was developed by Christian Walther. Send suggestions
and bug reports to wa2l@users.sourceforge.net .
COPYRIGHT
Copyright © 2008
Christian Walther
This is free software; see
edrc/doc/COPYING
for copying conditions. There is ABSOLUTELY NO WARRANTY; not
even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This document was created by man2html
using the manual pages.
Time: 16:17:43 GMT, April 17, 2025