Table of Contents
The general configuration for the Healthchecker is read from the file
${PSconfDir}/general/healthcheck.conf,
where ${PSconfDir} defaults to
/etc/parastation.
This file defines global paths and parameters.
Figure 4.1, shows
the default configuration file
healthcheck.conf, as provided by the
package.
For a standard installation, this file does not have to be
modified.
Refer also to healthcheck.conf(5).
#
# healthcheck.conf
#
# General configuration file for the Parastation healthcheck
#
#
# Directory containing the healthcheck configuration
#
HC_CONF_DIR=${PSconfDir-/etc/parastation}/healthcheck
#
# Path of directories to be searched for test configuration files
#
# Entries in the path have to be colon separated.
#
# This is used by the first way to configure tests for healthcheck
# using
# structured files.
#
HC_TESTCONF_PATH=${HC_CONF_DIR}/testconf.d
#
# Path of directories to be searched for testset configurations
#
# Entries in the path have to be colon separated.
#
# This is used by the second way to configure tests for healthcheck
# using
# init.d like concept with configuration scripts containing a magic
# line.
#
# Each directory in the path should have the following structure:
# ./all/tests/* # All test configuration scripts
# ./all/actions/* # All action scripts
# ./${TESTSET}/tests/* # Symlinks to test scripts to be
# executed in
# # ${TESTSET} in classes given by magic
# line.
# ./${TESTSET}/actions/* # Symlinks to action scripts to be
# executed after
# # testset ${TESTSET} failed.
# ./${TESTSET}/testset.conf # Configuration file for testset
# ${TESTSET}
#
HC_TESTSET_PATH=${HC_CONF_DIR}/testsets
#
# Syslog facility to use for logging
#
HC_SYSLOG_FACILITY=user
Figure 4.1. Example healthcheck.conf file