[pcp] pcp updates

Nathan Scott nscott at aconex.com
Sun Nov 29 18:15:50 CST 2009

Changes committed to git://oss.sgi.com/nathans/pcp.git

 install-sh               |    2 +-
 src/include/builddefs.in |    2 +-
 src/pmdas/cisco/Samples  |   12 ++++--------
 src/pmdas/cisco/Tested   |   35 +++++++++++------------------------
 src/pmdas/cisco/cisco.h  |    4 ++--                               
 src/pmdas/cisco/probe.c  |    5 +++--
 src/pmdas/cisco/telnet.c |   24 ++++++++++++++++--------
 7 files changed, 38 insertions(+), 46 deletions(-)

commit 239ecbcbf295ed13f0c4b265d628821959018e57
Author: Nathan Scott <nathans at debian.org>
Date:   Mon Nov 30 11:06:34 2009 +1100

    Two changes to get PCP up and running on 64 bit Mac OS 10.6.

    Generate universal binary version of all libraries (so, both 32
    and 64 bit code included in the one binary).

    The chmod in install-sh has been switched to usr:grp form as the
    usr.grp support is no longer there in this version.  Hmm, dodgey.

commit 38b581eda888ee046e0e9a67bf79a644606ee892
Author: Nathan Scott <nathans at debian.org>
Date:   Mon Nov 30 11:03:40 2009 +1100

    Make pmdacisco work for our local office router (2960 model).

    There's a problem in the parsing code where both a username and password
    are required.  The username extraction ends with the Password: prompt, &
    consumes this token - the password extraction starts by looking for that
    token - so it hangs indefinately in the interface probe stage.  Addressed
    this by passing a pointer to the "Password:" string, if it was observed,
    so that the next stage can (optionally) start with that token.  Otherwise
    everything is done exactly as before.

    Cleansed explicit hostnames from the pmdacisco Samples/Tested files also.

More information about the pcp mailing list