A couple of mine for tarball packaging and closing out an old open
Bugzilla bug (hotproc and summary PMDAs), but mostly pulling other
people's changes in the official PCP tree into my tree.
Changes committed to git://oss.sgi.com/kenj/pcp.git dev
CHANGELOG | 9 +
VERSION.pcp | 2
build/rpm/pcp.spec.in | 3
build/tar/postinstall | 55 +++++++++
build/tar/preinstall | 41 +++++++
build/tar/remove | 122 +++++++++++++++++++++
debian/changelog | 6
+aab4014a1ee319cd65e1071e0d63b4a682187b21
src/cpan/PMDA/local.c | 6 -
src/pmdas/GNUmakefile | 4
src/pmdas/hotproc/GNUmakefile | 11 -
src/pmdas/linux/clusters.h | 1
src/pmdas/linux/help | 3
src/pmdas/linux/pmda.c | 19 +++
src/pmdas/linux/proc_pid.c | 38 ++++++
src/pmdas/linux/proc_pid.h | 14 ++
src/pmdas/linux/root_linux | 7 +
src/pmdas/logger/event.c | 226 +++++++++++++++++++++++++--------------
src/pmdas/logger/event.h | 2
src/pmdas/logger/logger.c | 16 +-
src/pmdas/logger/percontext.c | 46 +++++--
src/pmdas/logger/percontext.h | 5
src/pmdas/rsyslog/pmdarsyslog.pl | 121 +++++++++++++++-----
src/pmdas/summary/GNUmakefile | 11 -
23 files changed, 608 insertions(+), 160 deletions(-)
commit 2d1d2cefdb6cd742fbf31d262d753f22da693158
Merge: b2408a3 a82e0ab
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Aug 1 13:39:01 2011 +1000
Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev
commit a82e0abd7d8a4bc8c36e97b69396614ffd0a08d8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Jul 31 20:55:59 2011 +1000
Bump version in dev branch for release, probably this week sometime.
commit d9a073ffefabcb70cc827fade910f0699a061718
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Jul 31 20:53:50 2011 +1000
Add an access control section to default pmcd.conf
This now blocks all remote store
operaaab4014a1ee319cd65e1071e0d63b4a682187b21tions by default,
only localhost may store. All can fetch.
commit b2408a3382f13d4a05ab1d028b044b84cd7b2bed
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Jul 30 16:50:05 2011 +1000
aab4014a1ee319cd65e1071e0d63b4a682187b21
making tarball installations work better
Add helper scripts for tarball-based packaging.
Package upgrades should proceed as:
# here=`pwd`
# ./preinstall
# ( cd /; tar xpf $here/pcp-*.tar.gz )
# ./postinstall
Package removal can be done from the same directory using
# ./remove
The helper scripts understand about the various init/rc frameworks
as well as the PCP configuration files that may have been changed and
need to be reinstated across an upgrade.
The remove is driven of the manifest of files in the tarball.
commit 525a9e4adcbed3a33e8709b6e0316358aefdc8c7
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Jul 30 16:48:35 2011 +1000
hotproc and summary PMDAs - makefile changes
Use the newer $(DOMAIN_MAKERULE) from PCP builddefs to make domain.h
with error checking.
commit 977a8c825da0c827ef90a93d5cc3d054c9d2820c
Merge: aab4014 c070300
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Sat Jul 30 10:10:14 2011 +1000
Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev
commit c0703004edb64275b1e93a929a8cbd349775c510
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Jul 29 11:37:50 2011 +1000
Add regular expression based event filtering in logger PMDA.
Using the -x option to pmevent, we can now pass over a regular
expression to be used to tease out the more interesting events.
commit d77d2c4a397f35086209410af09bedc3d8544640
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Jul 27 20:00:46 2011 +1000
Implement logger PMDA line-oriented event mode.
Change pmdalogger to generate individual events records
for each new line in the log file, instead of the current
read(2)-sized chunks. This paves the way for application
of per-client regular expressions for event filtering.
This is loosely based on the similar code in the Perl PMDA
wrapper module.
Also here, turns out the pipe inode mtime is not updated
on every write ... so we only skip (non-blocking) reads on
inodes we know to be regular files, else we miss updates.
commit 3d55ef1faad88a2f778149fce09253e4115371c8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Jul 27 18:20:40 2011 +1000
Rework rsyslog PMDA handling of queue metrics.
Observed by Rodney McKee, and on subsequent inspection
of the code, many separate queues can exist - handle 'em
as instances, rather than part of metric namespace. All
metrics here are 64 bits too - change that while there,
and added metric help text across the board.
commit 5a18c436b4fadafbbdb4f11448ef9c88b2a57198
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Jul 27 18:16:48 2011 +1000
Add EWOULDBLOCK to ignored errno set for non-blocking files.
According to man pages, this errno can be returned on some
systems and should be catered for in the Perl PMDA wrapper.
commit d8469f3006720759e73a2710fd406b22d511134e
Author: David Disseldorp <ddiss@xxxxxxx>
Date: Fri Jul 22 18:37:32 2011 +0200
Add open file-descriptor count metric to the Linux PMDA
The proc.fd.count Linux PMDA metric is calculated for a process by
counting symlinks in the proc/<pid>/fd directory.
|