pcp
[Top] [All Lists]

PCP Updates: Bug 1100: pmlogger robustness + New PMAPI Utilities

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: PCP Updates: Bug 1100: pmlogger robustness + New PMAPI Utilities
From: Dave Brolley <brolley@xxxxxxxxxx>
Date: Fri, 10 Jun 2016 18:16:44 -0400
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
The new PMAPI calls were created in order to share existing code and are similar to existing calls.

qa test 326 exercises this code for the case where no PMAPI changes have occurred.
Working on qa for the error scenarios

-----------------------------------------------------------------------------------------------------------------------------
Changes committed to ssh://git.pcp.io/oss/git/brolley/pcp pmlogger-pmda-reconnect

Dave Brolley (2):
      New PMAPI calls: pmSemStr(3) and pmSemStr_r(3).
pmlogger: Validate all configured metrics after PMCD_ADD_AGENT is received from pmcd.

src/include/pcp/pmapi.h   |    2
 src/libpcp/src/exports    |    2
 src/libpcp/src/util.c     |   50 ++++++++++------
src/pmlogger/src/check.c | 139 +++++++++++++++++++++++++++++++++++++++++++++-
 src/pmlogger/src/fetch.c  |   12 +++
 src/pmlogger/src/logger.h |    4 -
 6 files changed, 187 insertions(+), 22 deletions(-)

Details ...

commit 6d2be8f73de483621779356c87180ced47585e39
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Fri Jun 10 11:05:26 2016 -0400

pmlogger: Validate all configured metrics after PMCD_ADD_AGENT is received
    from pmcd.

    PCP Bug 1100.

commit 7dcd9ad2e5d10eda289c5b5d681dc99687ed2319
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Fri Jun 10 11:00:24 2016 -0400

    New PMAPI calls: pmSemStr(3) and pmSemStr_r(3).

    Similar to pmIDStr(3), pmIDStr_r(3), pmInDomStr(3) and pmInDomStr_r(3).

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