Changes committed to git://oss.sgi.com/nathans/pcp.git scox/dev
qa/750 | 97 +
qa/750.out | 94 +
qa/783 | 74 +
qa/group | 2
src/include/pcp/impl.h | 1
src/libpcp/src/auxconnect.c | 7
src/libpcp/src/exports | 1
src/libpcp/src/secureconnect.c | 7
src/libpcp/src/spec.c | 33
src/pmatop/pmatop.py | 7
src/pmdas/GNUmakefile | 2
src/pmdas/rpm/.gitignore | 6
src/pmdas/rpm/GNUmakefile | 110 +-
src/pmdas/rpm/Install | 33
src/pmdas/rpm/Remove | 25
src/pmdas/rpm/domain.h | 8
src/pmdas/rpm/help | 219 ++--
src/pmdas/rpm/pmdarpm.python | 388 +++----
src/pmdas/rpm/pmns | 109 +-
src/pmdas/rpm/root | 10
src/pmdas/rpm/rpm.c | 2023 ++++++++++++++++++++++++++---------------
src/pmdas/rpm/timer.c | 45
src/pmdas/rpm/timer.h | 24
src/pmns/stdpmid.pcp | 1
src/python/pcp/pmda.py | 2
25 files changed, 2254 insertions(+), 1074 deletions(-)
commit 19c234491eaccd9648b7b48460e98b8b6caaca94
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Dec 6 17:17:13 2013 +1100
Initial work on test qa/783 to further exercise pmdarpm
commit e8da686d9ba75c45a1adba95fad8346a16a328ba
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Dec 6 15:56:17 2013 +1100
Remove committed domain.h for pmdarpm - generated by build
commit 2e03939c53cee25f299a9c0c3e5161f337273aec
Merge: a46fe8a e2765ea
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Dec 6 15:50:38 2013 +1100
Merge branch 'dev' of ../nathans-pcp into scox/dev
commit a46fe8a0517deaad43cbb9c2431d24dbae38c83c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Dec 6 15:44:28 2013 +1100
Small cleanups and add missing timing code into pmdarpm
Update test 750 slightly to match what it does, add checks for
rpm binary, remove references to no-longer-used metrics.
Update the help text file to remove unused metrics, and to just
use short text (since long help text not adding value here).
Remove the old source of the original pmdarpm python prototype.
Make several globals static, parameterise the path to the rpmdb
and add a command line option to change it, remove a couple of
no-longer-used variables, update usage message.
Added in code to do the timing (elapsed, usr/sys) of refreshes.
commit e2765ea7b7f9a0d05fbc28ba663c934d7c91f8ec
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Fri Dec 6 08:47:25 2013 +1100
Allow the host part of the host spec to be enclosed in brackets [].
Needed for IPv6 addresses in order to separate the address from the
port. e.g. pcp://[fe80::5eff:35ff:fe07:55ca]:44321.
For simplicity, the implementation allows the brackets around the
host part of any spec, as it does no harm. e.g.
pcp://[10.15.16.212]:44321 or pcp://[some.host]:44321.
commit 10faab76c6c77b6d4c36a6ba4da7243644d296c4
Merge: 662ee2e 4dc6698
Author: Stan Cox <scox@xxxxxxxxxx>
Date: Wed Dec 4 17:55:28 2013 -0500
Merge branch 'scox/dev' of ssh://sourceware.org/git/pcpfans into scox/dev
Conflicts:
src/pmdas/rpm/GNUmakefile
commit 662ee2e1dbff6146b9fcf4fa16a710fd7306ae10
Author: Stan Cox <scox@xxxxxxxxxx>
Date: Wed Dec 4 17:46:21 2013 -0500
For rpm pmda: simplify caching, use mutexes, improve metric setup.
Remove the separate hash table in favor of pmdaCacheLookupName. Switched to
using mutexes since there is only one reader. Improved the initialization
of
metrics.
commit 4dc6698b1c3b07336bce08c9ee83f84d4e199541
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Wed Nov 27 15:51:10 2013 -0500
rpm pmda: don't include unused -lgc in LLDLIBS
commit 4739d33becaf4a16f7d70654265ed6d44a58ea3a
Author: Frank Ch. Eigler <fche@xxxxxxxxxx>
Date: Mon Nov 18 13:37:21 2013 -0500
Fix copyright holder for help file
commit 892337118836b9d73ffdfa5a22dfd1b94171325d
Author: Stan Cox <scox@xxxxxxxxxx>
Date: Wed Nov 27 15:26:54 2013 -0500
Converted the rpm pmda to cache metrics in advance.
Cache the rpm pmda metrics in advance using data structure 'cache'.
Build and access via a hash table 'htab'. Change rpm_fetchCallBack
to access the cache, via the hash table.
commit 70437a22172c337a91dd091f511b26576bd70ea5
Author: Stan Cox <scox@xxxxxxxxxx>
Date: Mon Nov 18 16:05:00 2013 -0500
Gracefully handle a missing curses module situation.
The curses python module may not be installed so catch and fail gracefully.
commit 0834c974f6f8a41a11184e2d86893e9f975d45d6
Author: Stan Cox <scox@xxxxxxxxxx>
Date: Mon Nov 18 13:18:15 2013 -0500
Converted the rpm pmda from python to C.
The rpm pmda was converted to C, which improves the performance for
fetching the rpm names and loading them as instances. Added
associated GNUmakefile changes and namespace table.
commit 967aaeb6faa001c4c5c4864074a4dc852ba912c2
Author: Stan Cox <scox@xxxxxxxxxx>
Date: Mon Oct 21 22:27:35 2013 -0400
Add an rpm pmda.
* pmdas/rpm/pmdarpm.python: New file.
* qa/750: New test.
* python/pcp/pmda.py (import): Add addressof
--
Nathan
|