Commits
| Author | Commit | Message | Date | Builds |
|---|---|---|---|---|
|
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>
|
|
|||
|
pmdas/cifs/Install: fix bash-ism
Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com>
|
|
|||
|
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>
|
|
|||
|
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>
|
|
|||
|
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>
|
|
|||
|
Fix incorrect pluralisation in sar2pcp proc.nprocs metric name
|
|
|||
|
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.
|
|
|||
|
Add newer logconf tools logginer templates into the mix
|
|
|||
|
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…
|
|
|||
|
Replace an IRIX reference in pmns(5) with more generic "platform" words
|
|
|||
|
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.
|
|
|||
|
cf3d0e6
M
|
Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev
|
|
||
|
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.
|
|
|||
|
3089154
M
|
Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev
|
|
||
|
e41d30a
M
|
Merge branch 'scox/dev' of ../pcpfans into dev
|
|
||
|
Update test qa/364 Linux output for hinv.nnode metric
|
|
|||
|
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.
|
|
|||
|
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).
|
|
|||
|
Add hinv.nnode metric to pmdalinux, mirroring the original IRIX metric
|
|
|||
|
Update pmstat man page, add fallbacks for disk iops metrics
|
|
|||
|
Update pmieconf to use correct PCP_SYSCONF_DIR path for interactive mode
|
|
|||
|
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.
|
|
|||
|
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.
|
|
|||
|
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.
|
|
|||
|
e2ffd39
M
|
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^)>
|
|
||
|
Update test qa/292 to handle pre-existing pmcd pmDebug settings
|
|
|||
|
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).
|
|
|||
|
git ignore - minor additions
|
|
|||
|
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.
|
|
|||
|
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.
|
|