yum install docker -y
service docker restart
# create data container
docker create \
-v /opt/prometheus/data \
-v /opt/consul-data \
-v /var/lib/mysql \
-v /var/lib/grafana \
percona/pmm-server:1.1.3 /bin/true
# run pmm-server
docker run -d \
-p 8081:80 \
percona/pmm-server:1.1.3
# verifying
http://IP:8081/
http://IP:8081/qan/
# admin/admin (default)
http://IP:8081/graph/
http://IP:8081/orchestrator/
# install client
yum install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm
yum install pmm-client
# connect pmm-server
pmm-admin config
# start mysql and mongodb
service mysqld restart # /etc/init.d/mysqld restart
bin/mongod -f conf/mongodb.cnf
# add monitor
pmm-admin add mysql
pmm-admin add mongodb
# show
pmm-admin list