Commits

Show all
Author Commit Message Date Builds
knarf
pmdas/cifs: expose metrics in explicit protocols, add smb2 stats * stats common to smb1 and smb2 are grouped in cifs.all.xxx * protocol-specific stats in their respective namespace * not functional yet because of INDOM problem in fetch_callback() Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com>
knarf
pmdas/cifs/Install: fix bash-ism Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com>
knarf
pmdas/cifs/Install: better checks and error messages * check if the cifs module is available (loadable) * check if the module is loaded * check if the module was configured properly to expose the stat file (CONFIG_CIFS_STATS) Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com>
knarf
pmdas/cifs: rewrite of the pmda * use a single indom for all shares * each metrics defined in %METRICS along with type, unit, semantic, optional regex and code, ... * path to Stats file can be changed via CIFS_STAT_PATH env variable * use on-the-fly hash for indom descriptions/labels Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com>
knarf
src/pmdas/cifs: add new PMDA for CIFS stats (per-mount and total) - Install: simple install script, check for CIFS stat file and presence of mounted shares. - Remove: simple remove script. - pmdacifs.pl: parse /proc/fs/cifs/Stats for CIFS stats. Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com>
Nathan Scott
Fix incorrect pluralisation in sar2pcp proc.nprocs metric name
Nathan Scott
Fix up logconf sar file issues found by test qa/366 The recently added sar pmlogconf template contained many old metrics that were IRIX-specific, and so test 366 complained. Rework this file based on the sar2pcp implementation, which has decent coverage for a sar-pcp metric set. Split this in two files, one for log-once (sar-summary), and the rest with default-interval logging.
Nathan Scott
Add newer logconf tools logginer templates into the mix
Nathan Scott
Remove unused global variables from pmdaproc and pmdaxfs code. It is no longer valid to run the Linux pmdaproc as a DSO PMDA, it performs changes to the process euid/egid which are not at all appropriate for pmcd, which no longer runs in a privileged mode that can make such changes anyway. As a result, we can now remove a global and make some more functions static. Similarly, pmdaxfs must nowadays run as root, and as a result must run as a daemon (thats the…
Nathan Scott
Replace an IRIX reference in pmns(5) with more generic "platform" words
Nathan Scott
Resolve timezone dependence in tests qa/736 and qa/827 Two recently added pmlogrewrite tests had timezone-dependent output in their expected .out files. Had me fooled for awhile thinking pmlogrewrite might be mishandling timezone in the log label, but its fine. Using -z on the pmdumplog lines ensures deterministic output.
Nathan Scott
Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev
Nathan Scott
Fix the build after recent infiniband spec changes For those of us with infiniband enabled in the build, recent merge of spec.in changes introduced a "infinband" typo. We do not actually need the spec snippet in question which adds a conditional "touch". Its OK to create this list of files for infiniband (for a non-IB build, has just the man page?); we wont be using the file anyway as the %files section has a guard around it.
Nathan Scott
Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev
Nathan Scott
Merge branch 'scox/dev' of ../pcpfans into dev
Nathan Scott
Update test qa/364 Linux output for hinv.nnode metric
Nathan Scott
Add an option allowing custom pmcd.hostname settings Following further discussions with fche and feedback from a recent talk he gave, this commit adds further flexibility to the pmcd.hostname metric allowing manual override. This may suit for cloud-ey cases where local hostnames are not useful or meaningful. It would also suit for a need Hamish identified some time ago with the SNMP PMDA. A simple test qa/861 exercises the functionality.
Nathan Scott
Resolve a potential pmcd sigsegv in ParseRestartAgents call Add a check to ensure we do not attempt to use client data structure that have been marked as no-longer-connected (as a result, some fields may be NULL or otherwise invalid).
Nathan Scott
Add hinv.nnode metric to pmdalinux, mirroring the original IRIX metric
Nathan Scott
Update pmstat man page, add fallbacks for disk iops metrics
Nathan Scott
Update pmieconf to use correct PCP_SYSCONF_DIR path for interactive mode
Nathan Scott
Add gluster PMDA into the build, really this time Due to an administrative oversight, pmdagluster has not made it into the shipped packages as planned with last release. Fix that. This resolves Fedora bug #969348. Really this time.
Nathan Scott
Update name/description for pmdagluster/pmdagfs2 man pages These two man pages are not being installed correctly due to some unusal formatting in the NAME section. "rpm -ql pcp | grep pmdag" gives files like ... /usr/share/man/man1/fBpmdaglusterfR.1.gz /usr/share/man/man1/fBpmdagfs2fR.1.gz Making it consistent with the other man pages resolves it.
Ken McDonell
qa/230 - refine MYHOST filtering Use pmhostname _and_ hostname to filter ... differences are in domain name which may or may not appear in the output.
Ken McDonell
Merge branch 'dev' of git://oss.sgi.com/pcp/pcp into dev Conflicts: build/rpm/pcp.spec.in Nathan and I made an almost identical change in parallel ... 8^)>
Nathan Scott
Update test qa/292 to handle pre-existing pmcd pmDebug settings
Nathan Scott
Allow for non-infiniband RPM package builds once more If configure fails to find useable infiniband headers and libs, we should not attempt to produce RPM packages. Simplify and as a result resolve a problem with sharing package file lists with the Debian packages (infiniband files ending up in -libs).
Ken McDonell
git ignore - minor additions
Ken McDonell
Revert "Revert "Make infiniband pmda optional in rpm packaging"" Flip-flop again libib packages are only available for fedora 18 and rhel/centos 6 ... so this _has_ to be optional This reverts commit 1705db9231cf0ed9f51b5ec792fdb75b7c9f0871.
Ken McDonell
Revert "Make infiniband pmda optional in rpm packaging" This was a mistake ... cannot make it optional in the dpkg packages, so leave it alone for rpm packaging. This reverts commit f849dbd97f648a4f613ea7e45f42c2f3c9c08c3e.
  1. Prev
  2. Next