Changes committed to git://oss.sgi.com/pcp/pcp.git
CHANGELOG | 8 +++
VERSION.pcp | 2
debian/changelog | 7 ++
src/cpan/LogSummary/GNUmakefile | 13 ++--
src/cpan/PMDA/Changes | 4 +
src/cpan/PMDA/GNUmakefile | 15 +++--
src/cpan/PMDA/Makefile.PL | 14 +++--
src/cpan/PMDA/PMDA.pm | 2
src/cpan/PMDA/PMDA.xs | 2
src/cpan/PMDA/local.c | 21 --------
src/cpan/PMDA/local.h | 1
src/include/builddefs.in | 2
src/include/platform_defs.h.in | 4 +
src/libpcp/src/util.c | 4 +
src/pmdas/cisco/GNUmakefile | 2
src/pmdas/jstat/GNUmakefile | 2
src/pmdas/mailq/mailq.c | 8 +--
src/pmdas/mmv/GNUmakefile | 2
src/pmdas/solaris/.gitignore | 6 ++
src/pmdas/solaris/help | 38 +++++++-------
src/pmdas/trace/src/GNUmakefile | 2
src/pmdas/windows/fetch.c | 30 ++++++++---
src/pmdas/windows/hypnotoad.h | 4 +
src/pmdas/windows/instance.c | 39 ++++++--------
src/pmdas/windows/open.c | 85 +++++++++++++++++++++++++-------
src/pmdas/windows/pmda.c | 60 +++++++++++++++-------
src/pmdas/zimbra/GNUmakefile | 3 -
src/pmdas/zimbra/pmdazimbra.pl | 105 ++++++++++++++++++++++++++++++++++++----
src/pmdas/zimbra/zimbraprobe.sh | 26 +++++++++
29 files changed, 361 insertions(+), 150 deletions(-)
commit fb8144d6304838340b3793dc1cde25ae18daacf3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Jun 10 15:32:49 2009 +1000
Further cpan build tweaks simplifying the Win32 build somewhat.
commit b8415f0af296b24004fffa876d0fa21c3be5ae03
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Jun 10 15:00:13 2009 +1000
Incorporate perl modules into the Win32 build.
Steps required to get this going were:
- use dmake.exe for perl part of the build on Win32.
- drop unused local_strdup_hashed routine in PMDA/local.c
which pulled in a <search.h> and hsearch dependency, not
satisfied on Windows.
- Makefile.PL path tweaking and add the PCP_VERSION macro.
- use __pmParseDebug not pmParseDebug which doesn't really
exist.
- pull in dirent.h in PMDA/local.c for struct dirent.
commit 23670065ef2299a796cf05a0887d91fae1d04984
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Jun 10 12:23:24 2009 +1000
Improve the instance domain handling logic in the Windows PMDA.
Fix a bug where we'd not set V_COLLECTED for any but the first
instance for some instance domains. Move the logic which sets
the instance domain to empty initially to a more sensible spot
and rework the instance PDU handling code.
Fixed a small memory leak in re-establishing instance domains.
Allow for more CPUs in the per-processor indom (up to 9999).
Add a fast path into the fetch callback for metrics with indoms
which now first looks to see if the instance ID maps directly
into the value table, instead of always scanning from instance
ID zero to the end. Esp. helps some large domains like threads
and processes, but also a small improvement for others.
commit 4c60dec38299df6f5d1891798fd11eed151ae516
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jun 9 18:39:10 2009 +1000
Rework the auto-switch 32/64 logic for certain Windows metrics.
Also, ensure a one-trip evaluation for instances that are not of
REDO type in the Windows PMDA.
commit efb31580ed745d64f629fd97c09f5465a78dc37c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jun 9 18:30:53 2009 +1000
Correct logic error on fetch filesys metrics update checking.
commit ca0a91d2480b2e260195fba222cfa7b93fda6081
Author: Max Matveev <makc@xxxxxxxxx>
Date: Sun Jun 7 16:48:02 2009 +1000
Make PCP build on OpenSolaris 2009.06
- GCC 3.4.3 needs -fPIC to create DSO with lots of symbols, -fpic is not
enough.
- standard awk on Solaris does not grok single equal as logical compare
in patterns.
- solaris pmda is a (mostly empty) shell and does not provide a lot
of metrics - remove the bogus metrics from the help file
- cpan module uses built-in defintions which depend on the compiler used
to build perl's importer. If the compiler is different then built-ins
do not match.
commit 15ac266071439d260b8d7ebf4175d3cd4e6cbae3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jun 9 14:33:27 2009 +1000
Fix hinv.ncpu and hinv.ndisk as first Windows PMDA fetch.
If the very first fetch to a newly started Windows PMDA is
either hinv.ncpu or hinv.ndisk, zero could be returned.
This happened because these two were relying on other metrics
to populate the disk/CPU instance domain, and they then just
returned the count. Added some logic to say "if we haven't
had some other metric ID cover this for us, then explicitly
populate the instance domain" for these metrics.
commit 354e2b925e90e948702b4f36f10e34a9691b7450
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jun 9 12:01:04 2009 +1000
Extend the Zimbra PMDA with service status metrics.
commit 7e01dd91277d69cf513321f960625d24beb978b1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue Jun 9 10:27:47 2009 +1000
Use tempnam not tmpnam for pmprintf temporary filename generation.
This provides better control over tmpfile placement, and has much
better behaviour in general under Win32 conditions - doesn't make
tmp files in the root, addressing part of bugzilla bug #838.
This is a modified version of Ken's patch, originally addressing
issues (probably drive root directory permissions) on Vista.
|