pcp
[Top] [All Lists]

pcp updates: qa, linux network metrics

To: PCP Mailing List <pcp@xxxxxxxxxxx>
Subject: pcp updates: qa, linux network metrics
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 2 Oct 2013 06:07:17 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1550623513.225042.1380708382560.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: iadh0wrZ8924rl/kLhEIhrwDJmBOzA==
Thread-topic: pcp updates: qa, linux network metrics
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 qa/322                         |   22 +++
 qa/366.out                     |    2 
 qa/374                         |   22 +++
 src/pmdas/linux/clusters.h     |    2 
 src/pmdas/linux/help           |    2 
 src/pmdas/linux/indom.h        |    2 
 src/pmdas/linux/pmda.c         |   41 +++++--
 src/pmdas/linux/proc_net_dev.c |  229 +++++++++++++++++++++++++++++++++--------
 src/pmdas/linux/proc_net_dev.h |   27 +++-
 src/pmdas/linux/root_linux     |    2 
 10 files changed, 282 insertions(+), 69 deletions(-)

commit ee7903c0fbd89d0ab20232d51e27dea1c13e80df
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 2 18:03:16 2013 +1000

    Functional network.interface speed/duplex metrics on older kernels
    
    Permissions issues on the SIOCETHTOOL ioctl have been causing the
    Linux kernel PMDA to see EPERM for older (e.g. pre-3 kernels), as
    a result of overly restrictive controls on this read-only ioctl.
    This was later rectified, but is still a problem for us since we
    do not run pmdalinux as root.
    
    It turns out the information we're after is available through the
    sysfs filesystem, so this change adds a fallback to using sysfs if
    that ETHTOOL ioctl fails.  Turns out its easier than I thought to
    find the information we're after in sysfs - symlinks exist to help
    point us the right way, below /sys/class/net.  The prospect of an
    entire /sys/devices tree scan was giving me a headache, so pretty
    pleased to have stumbled across that method!

commit 1d3a5caf13c8c1d399cf31be503753c3aa3d9087
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 2 16:23:30 2013 +1000

    Add support for IPv6 address and scope metrics (ifconfig-style)
    
    Alongside the IPv4 network interface address metrics, add Linux
    support for IPv6, calculated and presented just like ifconfig(1).

commit 9825f2d5d5c7e9ce20d623580accf109dc1abe6c
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 2 09:12:03 2013 +1000

    Fix filtering of shping logconf rule in qa 366

commit f7a15a07353cf83e9da7ebdbcc7fab3c8a7a433a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 2 09:08:32 2013 +1000

    Fix remote pmlogger termination for tests 322 and 374

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: qa, linux network metrics, Nathan Scott <=