All,
I tried to install the MySQL PMDA on PCP 3.6.10 on a CentOS 63 host,
which did not work.
[chandana@c63 mysql]$ ls
Install mysql.conf pmdamysql.pl Remove
[chandana@c63 mysql]$ sudo ./Install
mktemp: failed to create directory via template
`/var/lib/pcp/tmp/pmdaproc.XXXXXXXXX': No such file or directory
[chandana@c63 mysql]$ sudo mkdir /var/lib/pcp/tmp/
[chandana@c63 mysql]$ sudo ./Install
You will need to choose an appropriate configuration for installation of
the "mysql" Performance Metrics Domain Agent (PMDA).
collector collect performance statistics on this system
monitor allow this system to monitor local and/or remote systems
both collector and monitor configuration for this system
Please enter c(ollector) or m(onitor) or b(oth) [b]
Updating the Performance Metrics Name Space (PMNS) ...
pmnsadd: cannot find PMNS file ""
Install: failed to add the PMNS entries for "mysql" ...
total 60
-rw-r--r--. 1 root root 1093 Nov 19 16:26 Makefile
-rwxr-xr-x. 1 root root 4279 Nov 19 16:26 Make.stdpmid
-rw-r--r--. 1 root root 13 Dec 8 18:10 mysql
-rwxr-xr-x. 1 root root 8079 Nov 19 16:26 Rebuild
-rw-r--r--. 1 root root 20228 Nov 19 16:26 root_linux
----------. 1 root root 0 Dec 8 18:10 root.lock
-rw-r--r--. 1 root root 103 Nov 19 16:26 root_mmv
-rw-r--r--. 1 root root 2222 Nov 19 16:26 root_pmcd
-rw-r--r--. 1 root root 76 Nov 19 16:26 stdpmid.local
-rw-r--r--. 1 root root 1345 Nov 19 16:26 stdpmid.pcp
Chandana
This is how I installed PCP
sudo yum localinstall pcp-3.6.10-1.el6.x86_64.rpm
pcp-libs-3.6.10-1.el6.x86_64.rpm pcp-libs-devel-3.6.10-1.el6.x86_64.rpm
perl-PCP-MMV-3.6.10-1.el6.x86_64.rpm
perl-PCP-PMDA-3.6.10-1.el6.x86_64.rpm python-pcp-3.6.10-1.el6.x86_64.rpm
Loaded plugins: fastestmirror, security
Setting up Local Package Process
Examining pcp-3.6.10-1.el6.x86_64.rpm: pcp-3.6.10-1.el6.x86_64
Marking pcp-3.6.10-1.el6.x86_64.rpm to be installed
base | 3.7 kB 00:00
base/primary_db | 4.5 MB 00:09
extras | 3.5 kB 00:00
extras/primary_db | 23 kB 00:00
updates | 3.5 kB 00:00
updates/primary_db | 4.1 MB 00:07
Examining pcp-libs-3.6.10-1.el6.x86_64.rpm: pcp-libs-3.6.10-1.el6.x86_64
Marking pcp-libs-3.6.10-1.el6.x86_64.rpm to be installed
Examining pcp-libs-devel-3.6.10-1.el6.x86_64.rpm:
pcp-libs-devel-3.6.10-1.el6.x86_64
Marking pcp-libs-devel-3.6.10-1.el6.x86_64.rpm to be installed
Examining perl-PCP-MMV-3.6.10-1.el6.x86_64.rpm:
perl-PCP-MMV-3.6.10-1.el6.x86_64
Marking perl-PCP-MMV-3.6.10-1.el6.x86_64.rpm to be installed
Examining perl-PCP-PMDA-3.6.10-1.el6.x86_64.rpm:
perl-PCP-PMDA-3.6.10-1.el6.x86_64
Marking perl-PCP-PMDA-3.6.10-1.el6.x86_64.rpm to be installed
Examining python-pcp-3.6.10-1.el6.x86_64.rpm: python-pcp-3.6.10-1.el6.x86_64
Marking python-pcp-3.6.10-1.el6.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package pcp.x86_64 0:3.6.10-1.el6 will be installed
---> Package pcp-libs.x86_64 0:3.6.10-1.el6 will be installed
---> Package pcp-libs-devel.x86_64 0:3.6.10-1.el6 will be installed
---> Package perl-PCP-MMV.x86_64 0:3.6.10-1.el6 will be installed
---> Package perl-PCP-PMDA.x86_64 0:3.6.10-1.el6 will be installed
---> Package python-pcp.x86_64 0:3.6.10-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================
Package Arch Version
Repository Size
======================================================================================================================================================
Installing:
pcp x86_64 3.6.10-1.el6
/pcp-3.6.10-1.el6.x86_64 3.5 M
pcp-libs x86_64 3.6.10-1.el6
/pcp-libs-3.6.10-1.el6.x86_64 493 k
pcp-libs-devel x86_64 3.6.10-1.el6
/pcp-libs-devel-3.6.10-1.el6.x86_64 667 k
perl-PCP-MMV x86_64 3.6.10-1.el6
/perl-PCP-MMV-3.6.10-1.el6.x86_64 44 k
perl-PCP-PMDA x86_64 3.6.10-1.el6
/perl-PCP-PMDA-3.6.10-1.el6.x86_64 111 k
python-pcp x86_64 3.6.10-1.el6
/python-pcp-3.6.10-1.el6.x86_64 149 k
Transaction Summary
======================================================================================================================================================
Install 6 Package(s)
Total size: 4.9 M
Installed size: 4.9 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : pcp-libs-3.6.10-1.el6.x86_64 1/6
Installing : perl-PCP-PMDA-3.6.10-1.el6.x86_64 2/6
Installing : python-pcp-3.6.10-1.el6.x86_64 3/6
Installing : pcp-3.6.10-1.el6.x86_64 4/6
Installing : perl-PCP-MMV-3.6.10-1.el6.x86_64 5/6
Installing : pcp-libs-devel-3.6.10-1.el6.x86_64 6/6
Verifying : perl-PCP-MMV-3.6.10-1.el6.x86_64 1/6
Verifying : pcp-3.6.10-1.el6.x86_64 2/6
Verifying : pcp-libs-devel-3.6.10-1.el6.x86_64 3/6
Verifying : perl-PCP-PMDA-3.6.10-1.el6.x86_64 4/6
Verifying : pcp-libs-3.6.10-1.el6.x86_64 5/6
Verifying : python-pcp-3.6.10-1.el6.x86_64 6/6
Installed:
pcp.x86_64 0:3.6.10-1.el6 pcp-libs.x86_64
0:3.6.10-1.el6 pcp-libs-devel.x86_64 0:3.6.10-1.el6
perl-PCP-MMV.x86_64 0:3.6.10-1.el6
perl-PCP-PMDA.x86_64 0:3.6.10-1.el6 python-pcp.x86_64 0:3.6.10-1.el6
|