pcp
[Top] [All Lists]

pcp updates: qa, pmdanamed

To: pcp@xxxxxxxxxxx
Subject: pcp updates: qa, pmdanamed
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun, 25 Nov 2012 23:39:43 -0500 (EST)
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 qa/583                       |    4 -
 qa/602                       |   14 +++-
 src/libpcp/src/util.c        |   24 +++++--
 src/pmdas/named/Install      |   12 ++-
 src/pmdas/named/pmdanamed.pl |  139 +++++++++++++++++++++++++++----------------
 5 files changed, 125 insertions(+), 68 deletions(-)

commit f8b7e20cd616cee750adf11d39a01d53ccb9ca12
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Nov 26 15:38:04 2012 +1100

    Fix the getpwnam compile warnings which I just reintroduced

commit c5b72bd20efd73dafd81ce1e8e25b1b0af5e12d9
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Nov 26 15:32:28 2012 +1100

    Fix spurious trace pmda usage difference in qa/602

commit 0b63a9110c986e65087fb395078b40cb1821588a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Nov 26 15:32:02 2012 +1100

    Test qa/583 refers to a non-existant file (via cat) and fails
    
    I think the intention was to add the tail ($tmp.tmp) to the full
    file, and also a mention of which syslog was chosen, which this
    change now implements (Ken please double check though - thanks!)

commit 09d52f480976e3d022f354bfa560d9bd54145b3a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Nov 26 15:29:06 2012 +1100

    Another stab at error handling in getpwnam routines, qa/653 passes

commit d4b1473378cea45139180d0a686e5844dc1cb915
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Mon Nov 26 15:11:08 2012 +1100

    Update the named (name server) PMDA
    
    This updates the bind named agent so that it exports metric values
    from more recent versions of bind.  In particular, the format of
    the statistics file has changed significantly.  Also, the PMDA now
    switches from 'root' to the 'named' user, to drop privileges.
    
    Currently this exports just the global "Name Server" statistics,
    there is scope for adding a number of new metric subtrees with the
    newer versions of named - currently we ignore these sections:
        Incoming Requests
        Incoming Queries
        Outgoing Queries
        Zone Maintenance Statistics
        Resolver Statistics
        Cache DB RRsets
        Socket I/O Statistics
        Per Zone Query Statistics
    
    Adding these would be relatively straightforward now, should some
    punter be interested in any of these areas.  Many would be trivial
    and done exactly as the existing code is, others would warrant the
    addition of an indom (e.g. per-zone stats) - trickier but could be
    done using the recently added indom-cache hashing PCP::PMDA code.
    
    Backward compatibility for older bind variants is still present in
    the PMDA, so it should work on all RHEL variants (I've only tested
    RHEL6 though).

<Prev in Thread] Current Thread [Next in Thread>