The following variables are set in $PCP_SYSCONFIG_DIR/pmcd
.
In addition to the PCP environment variables described in the PCP
ENVIRONMENT
section below, the PMCD_PORT
variable is also
recognised as the TCP/IP port for incoming connections (default
44321), and the PMCD_SOCKET
variable is also recognised as the
path to be used for the Unix domain socket.
If set to the value 1, the PMCD_LOCAL
environment variable will
cause pmcd
to run in a localhost-only mode of operation, where it
binds only to the loopback interface. The pmcd.feature.local
metric can be queried to determine if pmcd
is running in this
mode.
The PMCD_MAXPENDING
variable can be set to indicate the maximum
length to which the queue of pending client connections may grow.
The PMCD_ROOT_AGENT
variable controls whether or not pmcd
or
pmdaroot
(when available), start subsequent pmdas. When set to a
non-zero value, pmcd
will opt to have pmdaroot
start, and stop,
PMDAs.
The PMCD_RESTART_AGENTS
variable determines the behaviour of pmcd
in the presence of child PMDAs that have been observed to exit
(this is a typical response in the presence of very large,
usually domain-induced, PDU latencies). When set to a non-zero
value, pmcd
will attempt to restart such PMDAS once every minute.
When set to zero, it uses the original behaviour of just logging
the failure.