pcp
[Top] [All Lists]

pcp updates

To: pcp@xxxxxxxxxxx
Subject: pcp updates
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 27 Jul 2011 20:03:15 +1000 (EST)
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 src/cpan/PMDA/local.c            |    6 -
 src/pmdas/logger/event.c         |  171 +++++++++++++++++++++++----------------
 src/pmdas/logger/logger.c        |    8 -
 src/pmdas/rsyslog/pmdarsyslog.pl |  121 ++++++++++++++++++++-------
 4 files changed, 197 insertions(+), 109 deletions(-)

commit d77d2c4a397f35086209410af09bedc3d8544640
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Jul 27 20:00:46 2011 +1000

    Implement logger PMDA line-oriented event mode.
    
    Change pmdalogger to generate individual events records
    for each new line in the log file, instead of the current
    read(2)-sized chunks.  This paves the way for application
    of per-client regular expressions for event filtering.
    
    This is loosely based on the similar code in the Perl PMDA
    wrapper module.
    
    Also here, turns out the pipe inode mtime is not updated
    on every write ... so we only skip (non-blocking) reads on
    inodes we know to be regular files, else we miss updates.

commit 3d55ef1faad88a2f778149fce09253e4115371c8
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Jul 27 18:20:40 2011 +1000

    Rework rsyslog PMDA handling of queue metrics.
    
    Observed by Rodney McKee, and on subsequent inspection
    of the code, many separate queues can exist - handle 'em
    as instances, rather than part of metric namespace.  All
    metrics here are 64 bits too - change that while there,
    and added metric help text across the board.

commit 5a18c436b4fadafbbdb4f11448ef9c88b2a57198
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Jul 27 18:16:48 2011 +1000

    Add EWOULDBLOCK to ignored errno set for non-blocking files.
    
    According to man pages, this errno can be returned on some
    systems and should be catered for in the Perl PMDA wrapper.

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