Changes committed to git://git.pcp.io/pcp.git master
Marko Myllynen (6):
pmrep: adjust examples for RHBZ#1289912
pmrep: switch -f and -P switches
pmrep: update TODO, man page
pmrep: update example config
docs: introduce pmrep in pcpintro(1) alongside the other tools
pmrep: revert earlier change, bufmem is being reported separately.
Ken McDonell (2):
qa/652: small improvements
qa/common.check: more cases for failure on the local host
Lukas Berk (2):
pmcd: initial work around pmdaroot-starting-pmdas work
pmdajson - support PM_SEM_COUNTER metrics
Nathan Scott (2):
docs: describe the pmdaroot process interfaces
pmcd: clarify PMDA shutdown, add pmdaroot-PMDAs opt-in mechanism
man/html/guide.html | 6 -
man/man1/pcpintro.1 | 4
man/man3/pmdarootconnect.3 | 37 ++++++
qa/1052 | 48 +++++++-
qa/1052.out | 46 ++++++++
qa/1069 | 4
qa/652 | 23 +++-
qa/652.out | 4
qa/common.check | 6 -
src/include/pcp/pmda.h | 4
src/include/pcp/pmdaroot.h | 44 +++++++-
src/libpcp_pmda/src/exports | 11 ++
src/libpcp_pmda/src/pduroot.c | 223 +++++++++++++++++++++++++++++++++++++++++
src/libpcp_pmda/src/root.c | 49 +++++++++
src/pmcd/src/agent.c | 173 +++++++++++++++++--------------
src/pmcd/src/config.c | 75 +++++++++++--
src/pmcd/src/pmcd.c | 141 ++++++++++++++++---------
src/pmcd/src/pmcd.h | 7 +
src/pmdas/json/pmdajson.python | 36 ++++++
src/pmdas/root/GNUmakefile | 8 -
src/pmdas/root/Install | 30 -----
src/pmdas/root/Remove | 25 ----
src/pmdas/root/agent.c | 164 ++++++++++++++++++++++++++++++
src/pmdas/root/root.c | 78 +++++++++++---
src/pmdas/root/root.h | 9 +
src/pmrep/TODO | 36 ++++--
src/pmrep/pmrep.1 | 48 ++++----
src/pmrep/pmrep.conf | 6 -
src/pmrep/pmrep.conf.5 | 6 -
src/pmrep/pmrep.py | 17 +--
30 files changed, 1068 insertions(+), 300 deletions(-)
commit ff9d5bf277f693020777be2c241c9cea92693508
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Dec 10 16:37:42 2015 +1100
pmcd: clarify PMDA shutdown, add pmdaroot-PMDAs opt-in mechanism
Provide environment var based opt-in mechanism for pmcd to use the
pmdaroot-starting-PMDAs code (disabled by default at this stage).
commit f88b95b4faad8f42d0481ad4fc8fca0ab43de430
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Dec 10 14:04:29 2015 +1100
qa/common.check: more cases for failure on the local host
Calling _wait_for_pmcd() with a "host" of unix: or local: did not
scrape the ps(1) output nor grab pmcd.log in the event of a failure.
commit 214fc171b2449b87c69cef788750651e5decf67f
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Dec 10 14:02:59 2015 +1100
qa/652: small improvements
+ better diags and checks for health of PMDA
+ push different messages into systemd at different steps in the test
to avoid message ambiguity in the filtering
commit edeb2c742ffbcf8268a08aba2d6369cd2deaf1a1
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date: Wed Dec 9 21:08:12 2015 -0500
pmdajson - support PM_SEM_COUNTER metrics
Add support for counter metrics to pmdajson. Update qa/1052 to include
the new descriptions.
commit fbca9f58411a6f5315358c71a442863160dcc6bf
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Thu Dec 10 11:26:38 2015 +1100
pmrep: revert earlier change, bufmem is being reported separately.
commit 91c6d26fe57f8eeedcabb3c2ce6361cc9ef41a55
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Thu Dec 10 11:25:15 2015 +1100
docs: introduce pmrep in pcpintro(1) alongside the other tools
commit 9403fd0c6d3ab4ed317956c256b13b4f1c5d308d
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Thu Dec 10 11:23:52 2015 +1100
pmrep: update example config
Update the example configuration to match the built-in defaults.
commit 23367454fe0fd882ffb9faebe296cdaeca2356a6
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Thu Dec 10 11:22:23 2015 +1100
pmrep: update TODO, man page
Hmm, outdated TODO version was in the previous patch, whoops.
Minor highlighting for the man page.
commit 20c1525fc0e39314eb0c46eea2da74609b7e403b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu Dec 10 11:18:48 2015 +1100
docs: describe the pmdaroot process interfaces
commit 960fbf2f918b534e325b82f264097ab39449892f
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Thu Dec 10 10:47:35 2015 +1100
pmrep: switch -f and -P switches
While we still, let's switch the meaning of -f and -P switch to
match the other tools.
Drop the remotely related but now-useless self.argless while at it.
Add few words about command line options to the TODO file.
commit 876645e03864175fded38771d8c8b38bc59d7011
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Thu Dec 10 10:46:46 2015 +1100
pmrep: adjust examples for RHBZ#1289912
The easiest solution for pmrep command line handling needs a change how
the context is being setup. But looks like it also revealed a corner
case issue in Python PMAPI command like option handling. Adjust the
examples to make to err on the safe side for the time being regardless
of the actual root cause. Adjust the allcache derived examples while at
it.
commit 76bedd2d2bc7f45ecf94db3e2e273b842a8f81e9
Author: Lukas Berk <lberk@xxxxxxxxxx>
Date: Wed Dec 9 17:07:07 2015 +1100
pmcd: initial work around pmdaroot-starting-pmdas work
pmcd can now use AF_UNIX socket based communication with pmdaroot(1)
(a PMDA with elevated privledges); pmcd will now try and start pmdas
via pmdaroot. pmdaroot will start requested pmdas, and pass back
their in/out fd's to pmcd for subsequent communication.
Currently disabled, some error handling and further cleanup, testing
and documentation work remains.
|