pcp
[Top] [All Lists]

pcp updates: default logging, default inferring, qa

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: default logging, default inferring, qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 27 Jun 2013 23:49:51 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <776009432.9522490.1372388984553.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: y44rAOjA8VJ54yDNCku7yA1s3RDMpg==
Thread-topic: pcp updates: default logging, default inferring, qa
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 build/rpm/fedora.spec               |    6 
 build/rpm/pcp.spec.in               |    6 
 man/man1/GNUmakefile                |    2 
 man/man1/pmie.1                     |    3 
 man/man1/pmlogger_check.1           |  547 +++++++++++++
 man/man1/pmlogger_daily.1           |  554 -------------
 qa/547                              |    7 
 qa/547.out                          |   32 
 qa/550                              |   19 
 qa/550.out                          |   12 
 qa/551                              |   21 
 qa/551.out                          |    4 
 qa/660                              |    9 
 qa/660.out.4                        |    4 
 qa/660.out.46                       |    4 
 qa/GNUmakefile.install              |    2 
 qa/check                            |    2 
 qa/common                           |    8 
 qa/secure/GNUmakefile               |    3 
 qa/secure/GNUmakefile.install       |   20 
 src/GNUmakefile                     |   22 
 src/pmcd_wait/.gitignore            |    1 
 src/pmcd_wait/GNUmakefile           |   31 
 src/pmcd_wait/pmcd_wait.c           |  194 ++++
 src/pmcdctl/.gitignore              |    1 
 src/pmcdctl/GNUmakefile             |   31 
 src/pmcdctl/pmcd_wait.c             |  194 ----
 src/pmdas/linux/devmapper.c         |    4 
 src/pmie/.gitignore                 |    4 
 src/pmie/GNUmakefile                |   41 -
 src/pmie/control                    |    6 
 src/pmie/crontab                    |    6 
 src/pmie/crontab.in                 |    8 
 src/pmie/pmie_check.sh              |  202 ++--
 src/pmie/src/pmie.c                 |    4 
 src/pmie/stomp                      |   11 
 src/pmie/stomp.install              |   11 
 src/pmlogctl/.gitignore             |    5 
 src/pmlogctl/GNUmakefile            |  111 --
 src/pmlogctl/GNUmakefile.install    |   61 -
 src/pmlogctl/GNUmakefile.install.in |  114 +-
 src/pmlogctl/config.base            |  124 ---
 src/pmlogctl/config.sar             |  197 ----
 src/pmlogctl/control                |   60 -
 src/pmlogctl/crontab.IN             |    8 
 src/pmlogctl/crontab.in             |   16 
 src/pmlogctl/pmlogger.config        |   13 
 src/pmlogctl/pmlogger_check.sh      |  999 +++---------------------
 src/pmlogctl/pmlogger_daily.sh      |  855 --------------------
 src/pmlogctl/pmlogger_merge.sh      |  270 ------
 src/pmlogctl/pmnewlog.sh            |  636 ---------------
 src/pmlogger/.gitignore             |    5 
 src/pmlogger/GNUmakefile            |   67 -
 src/pmlogger/GNUmakefile.install.in |  114 +-
 src/pmlogger/callback.c             |  784 -------------------
 src/pmlogger/check.c                |  164 ----
 src/pmlogger/control                |   50 +
 src/pmlogger/crontab.in             |    8 
 src/pmlogger/dopdu.c                | 1470 ------------------------------------
 src/pmlogger/error.c                |   35 
 src/pmlogger/events.c               |  112 --
 src/pmlogger/fetch.c                |  189 ----
 src/pmlogger/gram.y                 |  542 -------------
 src/pmlogger/lex.l                  |  125 ---
 src/pmlogger/logger.h               |  180 ----
 src/pmlogger/pmlogger.c             | 1186 -----------------------------
 src/pmlogger/pmlogger.config        |   13 
 src/pmlogger/pmlogger_check.sh      |  806 +++++++++++++++++++
 src/pmlogger/pmlogger_daily.sh      |  855 ++++++++++++++++++++
 src/pmlogger/pmlogger_merge.sh      |  270 ++++++
 src/pmlogger/pmnewlog.sh            |  636 +++++++++++++++
 src/pmlogger/ports.c                |  515 ------------
 src/pmlogger/preamble.c             |  201 ----
 src/pmlogger/rewrite.c              |   47 -
 src/pmlogger/src/.gitignore         |    2 
 src/pmlogger/src/GNUmakefile        |   54 +
 src/pmlogger/src/callback.c         |  784 +++++++++++++++++++
 src/pmlogger/src/check.c            |  164 ++++
 src/pmlogger/src/dopdu.c            | 1470 ++++++++++++++++++++++++++++++++++++
 src/pmlogger/src/error.c            |   35 
 src/pmlogger/src/events.c           |  112 ++
 src/pmlogger/src/fetch.c            |  189 ++++
 src/pmlogger/src/gram.y             |  542 +++++++++++++
 src/pmlogger/src/lex.l              |  125 +++
 src/pmlogger/src/logger.h           |  180 ++++
 src/pmlogger/src/pmlogger.c         | 1186 +++++++++++++++++++++++++++++
 src/pmlogger/src/ports.c            |  515 ++++++++++++
 src/pmlogger/src/preamble.c         |  201 ++++
 src/pmlogger/src/rewrite.c          |   47 +
 src/pmlogger/src/util.c             |   72 +
 src/pmlogger/util.c                 |   72 -
 91 files changed, 9678 insertions(+), 9951 deletions(-)

commit 64cc7eb9e1488caa47183d6f31afe39ad1427b1b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jun 28 12:37:37 2013 +1000

    Remove a pre-pmlogconf Makefile leftover from an old config-munger

commit c640dbbac7ccbbf9399e2583af83405fe93ae0fb
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jun 28 12:15:48 2013 +1000

    Take more care using readlink(2) in device mapping metric
    
    The newly added hinv.map.lvname metric has an instance domain
    which is populated with /dev/mapper links.  The code reading
    these links was unaware (as was I) of the quirks of readlink
    resulting in occassional failure of pcp/qa test 540.

commit c30a8ebcda957ec5290b91a202d2fd83ce2916d3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jun 28 11:27:28 2013 +1000

    Add a quiet mode to check script so it produces regular output

commit 846167567181063f08e83ea62f8986bf069a0dc1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jun 28 11:25:05 2013 +1000

    Need to chdir into secure subdir for qa using pcppdu module therein
    
    Affects the last batch of new tests which weren't able to find this
    common helper module.  Also, make sure its built correctly and ready
    for use by the time check is invoked.

commit d6051aee0166b5959a55a317431cf58074583e1a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Fri Jun 28 08:53:31 2013 +1000

    Fix test 660 after recent changes to pmwebd sources
    
    This test exercises a couple of error handling paths that have
    recently been changed from returning ESRCH to EINVAL, meaning
    the html response body changed.  Fixed via filtering to check
    a negative code followed by a message is reported.
    
    By goodluck, this should now work on non-Linux platforms too
    (where the ESRCH errno value wont be the same as on Linux).

commit dc40d78ce184a06d89d976452b98e0964499b393
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jun 27 20:06:22 2013 +1000

    Resolve source layout inconsistency between pmlogger/pmie/pmcd
    
    For some strange reason a number of pmlogger scripts has been
    put in a different location (pmlogctl) to the pmcd and pmie code
    which has scripts in top level then source in a "src" directory.
    This commit makes pmlogger toe the line, keeping everything the
    same for ease of locating the various helper scripts/sources.

commit 9cdfde093a6a2db48c049055267d2c92cdc62541
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu Jun 27 19:24:24 2013 +1000

    Generate the default pmlogger and pmie configuration files
    
    This implements a number of changes around generating default
    configuration files using pmieconf and pmlogconf, as we move
    toward more automated enabling of monitoring/logging.
    
    Firstly, the existing pmieconf-integration-in-pmie_check is
    revisted, and some minor sh code cleanups made, refactoring
    some code a little particularly around pmieconf invocation,
    and removing some dated assumptions (eg around pmieconf not
    being installed, older pmie versions, etc).
    
    Next, pmlogger_check is given the same treatment, by adding
    support for running pmlogconf here, for configuration files
    that are either missing or begin with #pmlogconf magic.
    
    We then move on to enabling a local (primary) logger and a
    local pmie process by default, with the default generated
    configuration files (we no longer ship config.default files).
    
    Finally, crontab entries for checking, restarting and daily
    general care-and-feeding of pmie and pmlogger are installed
    somewhere cron automagically finds 'em (Linux only, else in
    the same location as before).
    
    Bwahahah ... self-awareness is imminent (cancel that - wait
    till you hear Frank's Avahi plan, hive-mind is imminent!)

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: default logging, default inferring, qa, Nathan Scott <=