pcp
[Top] [All Lists]

Re: [pcp] mmv metric does not show up in pmlogger archives

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] mmv metric does not show up in pmlogger archives
From: Rares Vernica <rvernica@xxxxxxxxx>
Date: Tue, 23 Feb 2016 12:31:42 -0800
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=i74ppEkveS/BFfe6DG0H+yu3toRKmd3rH3iZqI7tmtQ=; b=V1CvRZkjeVjaFmQpP/X6z2CfK0flQlKGWEYhX9ZYmFw6PZ3z07Ps/mdxgTTiZuBhmM j4+sl6slTRkFQ9uDP9aSByq3SrY1VrkoulYLhCA7GlSyvv5h9Ff1XSqds8lI/PbsOoFk jUF0zGvATjARhP0yndsukIynnkvNdITiIeSujbpoo9p+2n+CLRNdNG420d03KxImUZ9L YCpC4sGMACZRw83kCMCgc3MfCU7IHgbCVWgawzjgiAEVUjqzKZciGKkhDzFAPMrIjqed bnI0J/Kv5+nZb152vlcUhA3LBb4bjXu0Bzqy1VFowSg7LHiWWaWdbTvRbF09a1wFxYPG aHMA==
In-reply-to: <729411517.24099425.1456190522006.JavaMail.zimbra@xxxxxxxxxx>
References: <CALQ9KxD7M18NUkmMtD=v7TBgOaWEOEVef5Tdaxv22T7tb2W5tQ@xxxxxxxxxxxxxx> <729411517.24099425.1456190522006.JavaMail.zimbra@xxxxxxxxxx>
I has able to figure out the issue.

I was adding my mmv metrics to this file:

On Mon, Feb 22, 2016 at 5:05 PM, Rares Vernica <rvernica@xxxxxxxxx> wrote:
>
> $ cat /etc/pcp/pmlogger/config.default

And in control I was referring to the configuration file only by file name:

> LOCALHOSTNAME y  n PCP_LOG_DIR/pmlogger/LOCALHOSTNAME -r -T24h10m -c config.default

Well, it turns out that the lookup directory for the pmlogger configuration file is notÂ/etc/pcp/pmlogger/ but $PCP_VAR_LIB/config/pmlogger/ (e.g., /var/lib/pcp/config/pmlogger/)Âhttp://www.pcp.io/man/man1/pmlogger.1.html (see CONFIGURATION FILE SYNTAX section).

So, I created and edited the config.default file in the wrong location and another default config.default file exists inÂ$PCP_VAR_LIB/config/pmlogger/

Cheers,
Rares
<Prev in Thread] Current Thread [Next in Thread>