pcp
[Top] [All Lists]

PCP Process PMDA question

To: pcp@xxxxxxxxxxx
Subject: PCP Process PMDA question
From: Chandana De Silva <chandana@xxxxxxxxxxxxx>
Date: Tue, 16 Feb 2016 08:32:07 +1100
Delivered-to: pcp@xxxxxxxxxxx
Reply-to: chandana@xxxxxxxxxxxxx
All,
I am running PCP 3.10 on two CentOS 5.8 hosts.

The PMCD config shows the process PMDA as ;
process	71	pipe	binary 		/var/lib/pcp/pmdas/process/pmdaprocess -d 71  

However, the file /var/lib/pcp/pmdas/process/pmdaprocess does not exist.

But both machines show that the the PMDA is running

$ pcp
Performance Co-Pilot configuration on gwdb02.prod.mel.au.m4u.com.au:

 platform: Linux gwdb02.prod.mel.au.m4u.com.au 2.6.18-308.24.1.el5 #1 SMP Tue Dec 4 17:43:34 EST 2012 x86_64
 hardware: 12 cpus, 3 disks, 2 nodes, 64416MB RAM
 timezone: EST-11
 services: pmcd pmproxy
     pmcd: Version 3.10.6-1, 4 agents, 6 clients
     pmda: pmcd linux mysql mmv process[4]

Hoever, only one machines shows the processes when queried:
$ pminfo -f process.running

process.running
    inst [0 or "sshd"] value 3
    inst [1 or "crond"] value 2
    inst [2 or "mysqld"] value 2

The other machine gives an error, and there is no process.log file 

$ pcp
Performance Co-Pilot configuration on gwdb02.prod.mel.au.m4u.com.au:

 platform: Linux gwdb02.prod.mel.au.m4u.com.au 2.6.18-308.24.1.el5 #1 SMP Tue Dec 4 17:43:34 EST 2012 x86_64
 hardware: 12 cpus, 3 disks, 2 nodes, 64416MB RAM
 timezone: EST-11
 services: pmcd pmproxy
     pmcd: Version 3.10.6-1, 4 agents, 3 clients
     pmda: pmcd linux mysql mmv process[4]
 pmlogger: primary logger: /var/log/pcp/pmlogger/gwdb02.prod.mel.au.m4u.com.au/20160216.08.26
     pmie: gwdb02.prod.mel.au.m4u.com.au: /var/log/pcp/pmie/gwdb02.prod.mel.au.m4u.com.au/pmie-mysql-host.log
[m4u-chandana@xxxxxxxxxxxxxxx pmcd]$ pminfo -f process.running
process.running: pmLookupDesc: No PMCD agent for domain of request

The pmcd.conf on this machine shows an error:
pmcd: error starting /var/lib/pcp/pmdas/process/pmdaprocess: No such file or directory
pmcd: unexpected end-of-file at initial exchange with process PMDA

Help, please
Thanks
Chandana
<Prev in Thread] Current Thread [Next in Thread>