pcp
[Top] [All Lists]

Re: [pcp] proc pmda question

To: chandana@xxxxxxxxxxxxx
Subject: Re: [pcp] proc pmda question
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 8 Jun 2015 21:25:14 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1433811890.23309.20.camel@xxxxxxxxxxxxx>
References: <1433811890.23309.20.camel@xxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: HPc1Oohsc4zHzjitu3sLJ7a2PZEB/w==
Thread-topic: proc pmda question
Hi Chandana,

----- Original Message -----
> I have a host running the proc pmda. My issue is that proc.psinfo data is not
> visible from outside the localhost, even if the access controls (see below)
> allow fetch.
> 
> [ chandana@xxxxxxxxxx ~]$ pminfo -f -h dd1.dev.mel.mmd proc.nprocs
> 
> proc.nprocs
> ÂÂÂ value 98
> [ chandana@xxxxxxxxxx ~]$ pminfo -f -h dd1.dev.mel.mmd proc.psinfo.rss
> 
> proc.psinfo.rss
> Error: No permission to perform requested operation

Try "-h local:" - the proc PMDA needs an authenticated connection for many of
the metrics it exports (but not all, as we can see above).  By default, the
inet connection established via "-h hostname" does not provide that (it can,
if you setup SASL, SSL, etc).  The af_unix socket connection from "local:" or
"unix:" *does* provide authentication by default, so the above will work via
that connection style.

cheers.

--
Nathan

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