pcp
[Top] [All Lists]

pcp updates: gfs2, default safeguards and config changes, qa

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: gfs2, default safeguards and config changes, qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 18 Jul 2013 02:32:43 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1755406640.3555478.1374129092930.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: uKba+I3//i8W3jQQ6dD/FP4ZVilNgA==
Thread-topic: pcp updates: gfs2, default safeguards and config changes, qa
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 man/man1/pmieconf.1            |    9 
 man/man1/pmlogconf.1           |    8 
 qa/.gitignore                  |    1 
 qa/069                         |    5 
 qa/1108                        |   11 
 qa/1108.out                    |   12 
 qa/1108.out.1                  |   12 
 qa/1108.out.2                  |   14 +
 qa/365                         |    1 
 qa/654                         |   17 -
 qa/654.out                     |  541 -----------------------------------------
 qa/655                         |   30 +-
 qa/655.out                     |    6 
 qa/common.gfs2                 |   33 +-
 src/pmdas/gfs2/glocks.c        |   36 +-
 src/pmdas/gfs2/glstats.c       |   36 +-
 src/pmdas/gfs2/lock_time.c     |    2 
 src/pmdas/gfs2/lock_time.h     |    2 
 src/pmdas/gfs2/pmda.c          |    2 
 src/pmdas/gfs2/sbstats.c       |   20 +
 src/pmie/GNUmakefile           |    9 
 src/pmie/pmie_check.sh         |   12 
 src/pmieconf/pmieconf.c        |   11 
 src/pmieconf/rules.c           |    6 
 src/pmieconf/rules.h           |    2 
 src/pmlogconf/pmlogconf.sh     |   12 
 src/pmlogger/GNUmakefile       |   10 
 src/pmlogger/control           |   18 -
 src/pmlogger/pmlogger_check.sh |   22 -
 src/pmlogger/pmlogger_daily.sh |   15 -
 src/pmlogger/src/GNUmakefile   |    4 
 31 files changed, 249 insertions(+), 670 deletions(-)

commit 7ccf4617e4370b7d15dbb59580dccd79a806f53f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 18 16:30:24 2013 +1000

    Change the default installed pmlogger control file
    
    Incorporate recent discussions from the mailing list - firstly,
    add a dead-hand timer to all pmlogger processes to guarantee we
    do not get rogue loggers hanging around forever.  Add in the -r
    option as well, to provide deeper insight into the logs that'll
    be generated.
    
    Finally, allow for longer timeout delays in case the loggers are
    monitoring faraway hosts over slow links.

commit d6547d989b8454c9ec72b54d67baf479ee57b4c5
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 18 16:26:38 2013 +1000

    Ensure permissions on the NOTICES file allow pcp uid/gid access

commit cb4bce998bfe88be92b9e616fe7afdaf5a570661
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 18 16:25:08 2013 +1000

    Correct qa/1108 output after recent pmlogger_daily changes

commit 6c915f7e9d22ebff64715381b54af7304fd9f44f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 18 16:19:49 2013 +1000

    Correct unix domain socket filters for couple of tests using pmcd.log

commit e5d5081baa8988cd8a6803518d9ac72c95c8fb03
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 18 16:14:00 2013 +1000

    Additional protective measures preventing system config overwrites
    
    This adds a command line option to pmlogconf and pmieconf which is
    now always used the the check scripts.  It places magic inside the
    generated configuration file which is used to make sure that only
    configuration files that were originally generated as part of the
    automatic pmlogger/pmie enabling will ever be touched by those two
    auto-configure tools.
    
    It is another in a series of defenses now, aimed at preventing any
    kind of accidental foot-shooting episodes when the default system
    pmlogger/pmie processes fire up.

commit 0c0670aafdda1d02ca9f4989f7fc75bb7e6cca42
Merge: 046a57c fd475c9
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jul 18 11:14:31 2013 +1000

    Merge branch 'dev' of git://github.com/pauljevans/pcp into dev

commit fd475c958ec7bc91f38b57557e11210bcb1b58bb
Author: Paul Evans <pevans@xxxxxxxxxx>
Date:   Wed Jul 17 11:15:53 2013 +0100

    pmdagfs2: qa improvements to guarding and compatible setups
    
    Have reduced the number of tests run on qa/654 so that it can be run
    on most installations with gfs2-utils present. Checked against Fedora
    16-19, Ubuntu 13.04, Centos 6.4 and Debian 7 with Debian 7 being the
    most restrictive through only having support for gfs2.glock metrics.
    
    Included additional checks in qa/655 to test for the mounting of debugfs
    and to attempt to mount it in the event that it is already not. Have
    re-added added additional comments on suggestions how to quickly setup a
    configuration for testing 655 in qemu-kvm using the cbox application.
    
    Added additional functions to common.gfs2 that test for the availability of
    mkfs.gfs2 on the test system (part of gfs2-utils) as well as attempting to
    mount debugfs on distributions that do not have it mounted by default.
    
    qa/654.out reflects the changes made to qa/654 in order to verify a correct
    run.
    
    Additional: Re-added non-deterministic view of loopN on tests in qa/654 and
    added pmstore checking in qa/655 to ensure the functionality is checked in
    future (testing gap).

commit de85a9fafabcc00b92c66f758758f12162278958
Author: Paul Evans <pevans@xxxxxxxxxx>
Date:   Wed Jul 17 11:13:46 2013 +0100

    pmdagfs2: Improvements for distributions without all gfs2 trace-points
    
    Improved error handling for distributions that do not currently have
    support for the full set of GFS2 trace-points.
    
    Additional cases are used within all metrics fetch functions to check
    for a pre-determined value which is set if the trace-point does not
    exist on the system. This sets the metric values as "No Value(s)
    Available" and is a cleaner output than zeros in these cases.
    
    Also a little spring cleaning with some of the coding conventions.
    
    Additional: Fixed issue where direct lookup without bounds check
    could result in invalid array position being read.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: gfs2, default safeguards and config changes, qa, Nathan Scott <=