pcp
[Top] [All Lists]

Re: [pcp] memcache pmda

To: chandana@xxxxxxxxxxxxx, Dave Brolley <brolley@xxxxxxxxxx>
Subject: Re: [pcp] memcache pmda
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 10 Jul 2014 03:24:19 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <785523043.6250592.1404890623607.JavaMail.zimbra@xxxxxxxxxx>
References: <53BCE301.9050408@xxxxxxxxxxxxx> <785523043.6250592.1404890623607.JavaMail.zimbra@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: ZFOazWfdEzP4ceOrNNqJMaQOmKd4dCZnB3Vn
Thread-topic: memcache pmda
Hey guys,

----- Original Message -----
> ----- Original Message -----
> > I am trying to run the memcache pmda on 3.9.4 in CentOS 6.5.
> > [...]
> > The main difference I can see is that pcp runs as root on 3.6.9, and pcp
> > on 3.9.4.
> 
> [...]
> I think its most likely to be something odd going on in the networking
> code in the perl PMDA library, which acquired IPv6, getaddrinfo, and a
> few related changes in the interim.  Dave could you take a look?  (I'm
> outta time for today, sorry).  When I run it, I see "values currently

An initial fix is attached, it was indeed related to those networking
changes.

> ps: this PMDA needs a QA test, if anyone is game... (comparing netcat
> results to pmprobe, if a local memcache server can be found, would be
> one possible approach there).

Thanks for the offer Chandana!!!  You'll want to read qa/README to get a
working test environment setup, and then we will need something like the
script in qa/348 (which exercises pmdakvm) for exercising pmdamemcache.

Since we're not too far off a release, I'll put this one on my ToDo list
too - if you don't beat me to it, I'll have a look before merging a fix
and I'll ask you to review it for me if you could?  (tomorrow @earliest)

I notice there's a fair bit of commented-out code in pmdamemcache which
I think maps to metrics we're not exporting yet - so there's scope for a
bit of follow-up work here if you're interested Chandana, to export more
memcached metrics than we have now - might be of use in your environment.

cheers.

--
Nathan

Attachment: memcache-vs-secure-sockets.patch
Description: Text Data

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