-
Type:
Improvement
-
Status: Done
-
Priority:
High
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.2.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:
From the official percona repo: https://www.percona.com/downloads/pmm/
PMM version 1.2.0 and below can be downloaded for RHEL5 but is currently not working, as it fails with the following error:
[root@centos vagrant]# sudo pmm-admin add linux:metrics
Error adding linux metrics: "service" failed: exec: "service": executable file not found in $PATH,
Trying to start the service manually starts the process but it does not work:
[root@centos vagrant]# /etc/init.d/pmm-linux-metrics-42000 start
Starting pmm-linux-metrics-42000
[root@centos vagrant]# ps -aux | grep pmm
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.7/FAQ
root 6786 0.0 0.1 49844 5552 pts/0 Sl 19:14 0:00 /usr/local/percona/pmm-client/node_exporter -collectors.enabled=diskstats,filefd,filesystem,loadavg,meminfo,netdev,netstat,stat,time,uname,vmstat -web.listen-address=192.168.88.32:42000 -web.auth-file=/usr/local/percona/pmm-client/pmm.yml -web.ssl-cert-file=/usr/local/percona/pmm-client/server.crt -web.ssl-key-file=/usr/local/percona/pmm-client/server.key
[root@centos vagrant]# curl http://192.168.88.32:42000/metrics
#not output
I suggest removing PMM-client for RHEL5 as it is currently not working