pcp
[Top] [All Lists]

pcp updates: ipv6 pmdas (brolley), batch import (myllynen), qa

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: ipv6 pmdas (brolley), batch import (myllynen), qa
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 23 May 2013 03:58:34 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1497034239.10065856.1369295821553.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: k87/d8kxbuEGm+CpPYAgHaIAEwuFIQ==
Thread-topic: pcp updates: ipv6 pmdas (brolley), batch import (myllynen), qa
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 man/man1/pmcd.1                  |   12 
 man/man3/pmdaconnect.3           |   30 ++
 man/man3/pmdagetopt.3            |    6 
 qa/067                           |    1 
 qa/110.out.1                     |    8 
 qa/110.out.2                     |    8 
 qa/110.out.3                     |    8 
 qa/156.out.1                     |    8 
 qa/156.out.2                     |    8 
 qa/226                           |    9 
 qa/226.out.3                     |  207 ++++++++++++++
 qa/369                           |    2 
 qa/369.out.4                     |   14 +
 qa/454.out                       |    2 
 qa/528                           |   69 ++++
 qa/528.out                       |   95 ++++++
 qa/560.irix                      |    6 
 qa/560.linux                     |    6 
 qa/617                           |    5 
 qa/617.out.3                     |  542 +++++++++++++++++++++++++++++++++++++++
 qa/group                         |    1 
 qa/pmdas/broken/broken_pmda.c    |    5 
 qa/pmdas/broken/broken_pmda.v1.c |    5 
 qa/pmdas/dynamic/dynamic.c       |    5 
 qa/src/GNUlocaldefs              |    4 
 qa/src/batch_import.perl         |   83 +++++
 qa/src/pmdashutdown.c            |    5 
 src/dbpmda/src/dbpmda.h          |    9 
 src/dbpmda/src/gram.y            |   33 ++
 src/dbpmda/src/lex.l             |    3 
 src/dbpmda/src/pmda.c            |   63 ++++
 src/dbpmda/src/util.c            |   14 -
 src/include/pcp/pmda.h           |    6 
 src/libpcp_pmda/src/open.c       |  289 +++++++++++++++-----
 src/perl/LogImport/Changes       |    4 
 src/perl/LogImport/LogImport.pm  |   68 ++++
 src/perl/PMDA/PMDA.xs            |   16 +
 src/pmcd/pmdaproc.sh             |   16 -
 src/pmcd/src/config.c            |   29 +-
 src/pmcd/src/pmcd.h              |    2 
 src/pmdas/apache/apache.c        |    5 
 src/pmdas/cisco/pmda.c           |    8 
 src/pmdas/darwin/pmda.c          |    5 
 src/pmdas/freebsd/freebsd.c      |    5 
 src/pmdas/netbsd/netbsd.c        |    5 
 src/pmdas/roomtemp/roomtemp.c    |    5 
 src/pmdas/sample/src/pmda.c      |    3 
 src/pmdas/simple/simple.c        |    5 
 src/pmdas/weblog/pmda.c          |    3 
 src/python/pcp/pmda.py           |    2 
 50 files changed, 1574 insertions(+), 178 deletions(-)

commit 3938ff56384f10810c172c794e7cb51889490319
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 23 17:55:28 2013 +1000

    Improvements to the socket-based PMDA mechanisms.
    
    Dave noticed that a PMDA installed as a socket would
    sometimes/often fail to complete (accept) a connection
    from pmcd, in the pmda-as-server mode (i.e. not started
    by pmcd - a little used mode evidentally, but supported
    all the same).  Turned out to be the accept(2) being on
    a socket that was not necessarily ready - judicious use
    of select(2) saves the day, as done in other places.
    
    While there, I noticed the inet and now ipv6 sockets are
    listening on any interface, which means they are network-
    facing when they really dont need to be.  Make this use
    the local loopback interface to tighten this up.  Further,
    we only need to listen for a max of 1 connection request -
    pmcd - not 5 (cut&paste from elsewhere I imagine).

commit 940576b6c2486ca6d01f5717cd391cd087bda16e
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 23 17:44:04 2013 +1000

    Extend and test support for batch value processing in LogImport.pm
    
    Working with Marko, this extends his initial cut with a new QA test
    script (qa/528) and test program (qa/src/batch_import.pl).  Adds in
    the handle-based addValue mechanism, and preserves sub-second parts
    of the timestamps.

commit c7eb9babf041f05aaa080b8eecd08aa9b1c964a1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 23 15:30:29 2013 +1000

    Bump perl logimport module version number

commit 61994d9011f04a2e69003c5dac0b1eed3dea1e0e
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 23 14:31:23 2013 +1000

    Update qa/{226,617} to handle dbpmda socket open command changes

commit 9b44362633d60ac73a8a3a81a1a39d5db1d98df8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 23 14:24:56 2013 +1000

    Update filter in test 067 to handle loopback-bound sockets

commit aeb8300ed286a73047a79416e44d40a2e022fee3
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date:   Thu May 23 14:16:23 2013 +1000

    Add support for batch value processing in LogImport.pm
    
    This makes it more feasible to process dozens of files in parallel
    which might use different timestepping.

commit 219d47af203ca5d97d9362ef2a4ebb57965f2cb8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 23 14:13:45 2013 +1000

    Add qa/722 archive file to the installed set

commit 4ed23c58ceabdfae9893f51354653fa76e6d545e
Merge: 8fd5448 c3158e8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Thu May 23 13:40:48 2013 +1000

    Merge branch 'brolley/dev' of ../pcpfans into dev

commit c3158e8f263ba3d486b074e31712aa920f71f783
Merge: a5db2d0 25dea42
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed May 22 21:59:01 2013 -0400

    Merge branch 'brolley/dev' of ssh://sourceware.org/git/pcpfans into 
brolley/dev
    
    Conflicts:
        src/include/pcp/pmda.h
        src/libpcp_pmda/src/open.c

commit a5db2d0b9627689166aeecb7d7b7db06bf8be883
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed May 22 18:19:18 2013 -0400

    Specify the correct address family when initializing the listening
    socket in __pmdaOpenSocket.

commit 4d2fa8d867e762395996a189cc4ea1213bb29a0d
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed May 22 16:38:57 2013 -0400

    Support IPv6 configurations in pmdaproc.sh.
    
    Also updated the expected output of the affected qa tests.

commit ac55941de2786eb53629728d8aa91bc91d5f39dd
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed May 22 16:37:50 2013 -0400

    Limit pmcd to pmda connection attempts to the configured address family.

commit fe63532f9296004641a9d9e2ef442482d942f9cb
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed May 22 16:37:13 2013 -0400

    Small formatting tweak for pmcd.1.

commit d40ba64446bde3b02b80b98b5b40f878caee8099
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed May 22 12:19:47 2013 -0400

    Update man pages to reflect IPv6 support in pmcd and libpcp_pmda.

commit e723b0ea8c70a7d31932c47d4824acb9f52812ba
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed May 22 11:57:20 2013 -0400

    Add -6 option to pmdas which already support -i, -u and -p.
    
    Other pmdas connect via pipe only and remain that way.

commit fc13c7f6e9be09d05e515b3067df727d69ecbab6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed May 22 11:12:04 2013 -0400

    IPv6 Support for dbpmda.

commit 0b249ea2990bff692e2a25323394f02fc4a0b6ef
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed May 22 11:07:53 2013 -0400

    Review rework for commit 25dea424f627badb0f42d2a513235170c4c1ded5
    
    - Add pmdaIPv6 to the end of the enumeration for ABI consistency.
    - Retain __pmdaOpenInet(), add pmdaOpenIPv6().
    - Add __pmdaOpenSocket to handle Inet and IPv6 sockets by calling the
      above functions.

commit 79c8e741dab5d3bc40b3f6accbbbdd126f83e78f
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed May 22 10:55:14 2013 -0400

    Support for ipv6 pmdas in pmcd.
    
    - Accept 'ipv6' as the socket type in the config file.
    - update the expected output (changed error message) for qa test 454.

commit 9a5f398d2f7077629c4ccc3eb93b14fd6dfd6d23
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Tue May 21 11:24:06 2013 -0400

    IPv6 Support in libpcp_pmda.
    
    - Add a new pmdaIPv6 enumerator to pmdaIoType
    - Rename pmdaOpenInet() to pmdaOpenIP(). It now handles inet
      and IPv6 sockets.
    - Add new -6 option to pmdaGetOpt() to request an IPv6 connection.
    - Add set_ipv6_socket() to src/perl/PMDA/PMDA.xs and
      src/python/pcp/pmda.py
    - update the pmdaconnect.3 man page

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: ipv6 pmdas (brolley), batch import (myllynen), qa, Nathan Scott <=