pcp
[Top] [All Lists]

Re: systemd pmda problem

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: systemd pmda problem
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu, 18 Sep 2014 08:32:09 +1000
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20140917200216.GB24770@xxxxxxxxxx>
References: <54163A53.3060007@xxxxxxxxxxxxxxxx> <y0m38btejx9.fsf@xxxxxxxx> <541682D7.4070004@xxxxxxxxxxxxxxxx> <20140917200216.GB24770@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1
On 18/09/14 06:02, Frank Ch. Eigler wrote:
> Hi -
> 
> Please consider these commits from pcpfans.git, aiming to cure the problem.
> 
> 
> commit 4de618b58b81ea694d60c52fd0412b0f85636de1 (HEAD, origin/fche/dev, 
> fche/dev)
> ...
> commit c53ff33ed2acae93951ba6baa82d603beda072e4
> ...

Thanks Frank.

I've cherry-picked these two into my tree and the uid/permissions problem is 
fixed.


vm24:/var/lib/pcp/pmdas/systemd # ./Install
Warning: user adm not found, running pmda as root

as expected

vm24:/var/lib/pcp/pmdas/systemd # ps -ef | grep systemd
...
root      9208  9193  0 08:22 ?        00:00:00 
/var/lib/pcp/pmdas/systemd/pmdasystemd -d 114 -Uroot

more goodness

vm24:/var/lib/pcp/pmdas/systemd # pminfo -f systemd

systemd.numclients
    value 1

systemd.maxmem
    value 2097152

systemd.journal.records
No value(s) available!

systemd.journal.records_raw
No value(s) available!

systemd.journal.count
    value 0

systemd.journal.bytes
    value 0

systemd.journal.field.cursor
No value(s) available!

systemd.journal.field.string
No value(s) available!

systemd.journal.field.blob
No value(s) available!

And for bonus points, qa/652 is now passing on this host (although still 
failing on vm03 PCP 3.10.0 x86_64 Fedora 18 as per my previous mail.

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