Skip to content

Commit ae2c923

Browse files
authored
Merge pull request #255 from jpwhite4/templates
Update template paths to explicitly include the PCP version.
2 parents dd6ffa3 + a861a67 commit ae2c923

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

config/templates/pmlogger/control renamed to config/templates/pcp-4.3.x/pmlogger/control

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ $version=1.1
2727
$PMCD_CONNECT_TIMEOUT=150
2828
$PMCD_REQUEST_TIMEOUT=120
2929

30+
# disable automatic compression of log files.
31+
$PCP_COMPRESSAFTER=never
32+
3033
# === LOGGER CONTROL SPECIFICATIONS ===
3134
#
3235
#Host P? S? directory args
@@ -36,7 +39,8 @@ $PMCD_REQUEST_TIMEOUT=120
3639
# (LOCALHOSTNAME is expanded to local: in the first column,
3740
# and to `hostname` in the fourth (directory) column.)
3841
#
39-
LOCALHOSTNAME y n "PCP_LOG_DIR/pmlogger/$(date +%Y)/$(date +%m)/LOCALHOSTNAME/$(date +%Y)-$(date +%m)-$(date +%d)" -r -c /etc/pcp/pmlogger/pmlogger-supremm.config
42+
LOCALHOSTNAME y n "PCP_LOG_DIR/pmlogger/$(date +%Y)/$(date +%m)/LOCALHOSTNAME/$(date +%Y)-$(date +%m)-$(date +%d)" -r -T24h10m -c /etc/pcp/pmlogger/pmlogger-supremm.config
43+
4044

4145
# Note: if multiple pmloggers for the same host (e.g. both primary and
4246
# non-primary loggers are active), then they MUST use different

config/templates/pmlogger/pmlogger-supremm.config renamed to config/templates/pcp-4.3.x/pmlogger/pmlogger-supremm.config

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,6 @@ log mandatory on %{standard_freq} {
293293
# gpfs
294294
gpfs.fsios
295295

296-
# slurm
297-
slurm.node
298-
299296
# Intel MIC cards
300297
mic
301298

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
data_files=[
4343
(confpath, ['config/config.json']),
4444
('share/supremm/templates/slurm', ['config/templates/slurm/slurm-epilog', 'config/templates/slurm/slurm-prolog']),
45-
('share/supremm/templates/hotproc', ['config/templates/hotproc/hotproc.conf']),
46-
('share/supremm/templates/pmlogger', ['config/templates/pmlogger/control', 'config/templates/pmlogger/pmlogger-supremm.config'])
45+
('share/supremm/templates/pcp-4.3.x/hotproc', ['config/templates/pcp-4.3.x/hotproc/hotproc.conf']),
46+
('share/supremm/templates/pcp-4.3.x/pmlogger', ['config/templates/pcp-4.3.x/pmlogger/control', 'config/templates/pcp-4.3.x/pmlogger/pmlogger-supremm.config'])
4747
],
4848
scripts=[
4949
'src/supremm/supremm_update'

0 commit comments

Comments
 (0)