Changes committed to git://git.pcp.io/nathans/pcp.git master
Nathan Scott (4):
rc scripts: support pmlogger and pmie control file directories
rc scripts: support env var settings and local-host only mode
rc scripts: cleanup, don't leave empty log files lying around
build: annotate extra bintray configs as gitignore'd files
.gitignore | 1
GNUmakefile | 3
build/rpm/fedora.spec | 9
build/rpm/pcp.spec.in | 9
debian/rules | 2
man/man1/pmcd.1 | 33 +
man/man1/pmie_check.1 | 50 ++
man/man1/pmlogger.1 | 51 +-
man/man1/pmlogger_check.1 | 84 ++--
man/man1/pmproxy.1 | 23 -
qa/.gitignore | 2
qa/1108 | 9
qa/115 | 3
qa/119 | 63 ---
qa/119.new.out | 29 -
qa/119.old.out | 19
qa/119.out | 29 +
qa/151 | 5
qa/280 | 25 -
qa/314 | 11
qa/315 | 4
qa/338 | 28 -
qa/430 | 23 -
qa/430.out | 252 ++++++++++++
qa/430.out.1 | 247 ------------
qa/430.out.2 | 252 ------------
qa/456 | 8
qa/503 | 21 -
qa/510 | 12
qa/530 | 14
qa/532 | 5
qa/564 | 4
qa/781 | 8
qa/929 | 8
src/include/pcp/impl.h | 1
src/libpcp/src/auxconnect.c | 5
src/libpcp/src/auxserver.c | 30 +
src/pmcd/GNUmakefile | 3
src/pmcd/pmcd.defaults | 11
src/pmcd/rc_pmcd | 6
src/pmcd/src/pmcd.c | 11
src/pmdas/pmcd/help | 4
src/pmdas/pmcd/root_pmcd | 1
src/pmdas/pmcd/src/pmcd.c | 2
src/pmie/GNUmakefile | 2
src/pmie/control | 5
src/pmie/control.local | 2
src/pmie/pmie_check.sh | 362 ++++++++++--------
src/pmie/pmie_daily.sh | 406 +++++++++++---------
src/pmlogger/GNUmakefile | 5
src/pmlogger/control | 18
src/pmlogger/control.local | 3
src/pmlogger/pmlogger.defaults | 11
src/pmlogger/pmlogger_check.sh | 685 ++++++++++++++++++----------------
src/pmlogger/pmlogger_daily.sh | 820 +++++++++++++++++++++--------------------
src/pmlogger/rc_pmlogger | 49 +-
src/pmlogger/src/ports.c | 32 +
src/pmproxy/GNUmakefile | 3
src/pmproxy/pmproxy.c | 11
src/pmproxy/pmproxy.defaults | 11
src/pmproxy/rc_pmproxy | 17
61 files changed, 1979 insertions(+), 1883 deletions(-)
commit e423da2f62a5ab3ceee4bbdeda6931eded566253
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Aug 21 20:52:10 2015 +1000
build: annotate extra bintray configs as gitignore'd files
commit 3866990b90598a3dd20dff16661c9d3f031917a9
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Aug 21 20:51:26 2015 +1000
rc scripts: cleanup, don't leave empty log files lying around
commit df3386ba2d7ef3ea94444a2a2f8ee2951de25383
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Aug 21 20:50:10 2015 +1000
rc scripts: support env var settings and local-host only mode
Add an optional server mode for critical PCP daemons (pmcd,
pmproxy, and the primary pmlogger) where we perform only the
loopback interface bind(2) instead of the allow-any model we
do by default. This mode can be enabled using an environment
variable setting, which is propogated via the rc scripts and
files in PCP_SYSCONFIG_DIR.
Update Debian package builds so that PCP_SYSCONFIG_DIR points
to the correct location (/etc/default). At this stage we're
not enabling this, but it appears likely Fedora might need to
run in the mode soon for the default pmcd/pmlogger processes.
commit c42614713fba2851c5456bc126cf07fd7494dabc
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Aug 21 12:48:01 2015 +1000
rc scripts: support pmlogger and pmie control file directories
This adds support for pmlogger and pmie control files to be
sourced from a directory (in addition to the single control
file model currently employed, and in a backward compatible
way). In this way we make life easier for automation tools
like Chef, Puppet, etc when setting up monitoring farms for
remote systems.
Additionally, the work to support "sending-less-email" is now
completed here, with the addition of -l options to several of
the scripts involved, and switching to log files rather than
cron-driven emails.
|