blob: 7e25ef8aaefd40e11eee602867ce655a565f8e27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#
# PCP archive logging configuration/control
#
# This file is used by various of the PCP archive logging administrative
# tools to perform maintenance on the pmlogger instances running on
# the local host.
#
# This file contains one line per host to be logged, fields are
# Host name of host to be logged
# P(rimary) is this the primary logger? y or n
# S(ocks) should this logger be launched with pmsocks? y or n
# Directory full pathname to directory where archive logs are
# to be maintained ... note all scripts "cd" to here as
# a first step
# Args optional additional arguments to pmlogger and/or pmnewlog
#
# === VARIABLE ASSIGNMENTS ===
#
# DO NOT REMOVE OR EDIT THE FOLLOWING LINE
$version=1.1
# if pmsocks is being used, edit the IP address for $SOCKS_SERVER
#$SOCKS_SERVER=123.456.789.123
# for remote loggers running over a WAN with potentially long delays
$PMCD_CONNECT_TIMEOUT=150
$PMCD_REQUEST_TIMEOUT=120
# === LOGGER CONTROL SPECIFICATIONS ===
#
#Host P? S? directory args
# local primary logger
#
# (LOCALHOSTNAME is expanded to local: in the first column,
# and to `hostname` in the fourth (directory) column.)
#
LOCALHOSTNAME y n PCP_LOG_DIR/pmlogger/LOCALHOSTNAME -r -T24h10m -c config.default
# Note: if multiple pmloggers for the same host (e.g. both primary and
# non-primary loggers are active), then they MUST use different
# directories
# local non-primary logger
#LOCALHOSTNAME n n PCP_LOG_DIR/pmlogger/mysummary -r -T24h10m -c config.Summary
# remote host
#remote n n PCP_LOG_DIR/pmlogger/remote -r -T24h10m -c config.remote
# thru the firewall via socks
#distant n y PCP_LOG_DIR/pmlogger/distant -r -T24h10m -c config.distant
|