PMM Install
# Docker install Curl-ssl https://get.daocloud.io/docker | sh# Create PMM data container Docker create-v/opt/prometheus/da Ta-v/opt/consul-data-v/var/lib/mysql-v/var/lib/grafana--name pmm-data percona/pmm-server:latest/bin /true# Create the PMM server container, set the login user name (server_user) and password (Server_password), and modify as needed. The default is to use port 80, which can be changed if needed. Docker run-d-P 80:80--volumes-from pmm-data--name pmm-server-e server_user=admin-e Server _password=jf* (Sd) d8iadldc--restart always percona/pmm-server:latest# timezonedocker cp/etc/localtime pmm-server:/et c/localtime# Percona reposudo Yum Install http://www.percona.com/downloads/percona-release/redhat/0.1-6/ percona-release-0.1-6.noarch.rpm# pmm-clientsudo Yum Install pmm-client# pmm-client Connect serverpmm-admin config-- Server 127.0.0.1:80--server-password jf* (Sd) d8iadldc--server-user admin# monitor dbpmm-admin add MySQL--user root--pas Sword gtl1023--host 10.138.0.24 instances-falcondb
MySQL Monitoring system PMM