pcp
[Top] [All Lists]

Re: [pcp] Experimental patch (was Re: mmv pmda: stuff always fails the f

To: kenj@xxxxxxxxxxxxxxxx
Subject: Re: [pcp] Experimental patch (was Re: mmv pmda: stuff always fails the first time?)
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Mon, 16 Nov 2009 10:12:23 +1100 (EST)
Cc: pcp@xxxxxxxxxxx, Martin Hicks <mort@xxxxxxxx>
In-reply-to: <1004417490.413401258326684184.JavaMail.root@xxxxxxxxxxxxxxxxxx>
----- "Ken McDonell" <kenj@xxxxxxxxxxxxxxxx> wrote:
> ...
> I've seen the same thing with QA 647 where after the mmv PMDA is
> installed, this metric appears (I have an independent pmdaproc.sh fix
> to make the warning message go away from the Check line) ...

Ah, I was looking at a similar thing on the train this morning ... can
you send yours?  This patch made the problem go away (now using the PMNS
PDUs with pmcd, instead of an explicit namespace file to pminfo, in the
default case).

The root (of ./Install giving bogus warnings) seems to be this:
$ pminfo -n /var/lib/pcp/pmns/root -f mmv
mmv: pmLookupDesc: Unknown or illegal metric identifier

So, I used the attached patch & the correct values are reported by Install.
What was your approach?

cheers.

-- 
Nathan

Attachment: pmdaproc.patch
Description: Text Data

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