I have now performed fresh install of PMM 1.14.1 both the server and clients. Just to make sure everything is stock.
altmannmarcelo
SHOW GLOBAL STATUS
I have attached a file with the output from “SHOW GLOBAL STATUS” so it does not eat up the whole forum post.
SHOW GLOBAL VARIABLES
“SHOW GLOBAL VARIABLES” gives me an error “SQL Error (1682): Native table ‘performance_schema’.‘global_variables’ has the wrong structure”
ps_export.txt
collin 28814 8042 0 09:56 pts/0 00:00:00 grep --color=auto export
root 49036 1 0 09:42 ? 00:00:00 /bin/sh -c /usr/local/percona/pmm-client/node_exporter -web.listen-address=3.28.6.246:42000 -web.auth-file=/usr/local/percona/pmm-client/pmm.yml -web.ssl-key-file=/usr/local/percona/pmm-client/server.key -web.ssl-cert-file=/usr/local/percona/pmm-client/server.crt -collectors.enabled=diskstats,filefd,filesystem,loadavg,meminfo,netdev,netstat,stat,time,uname,vmstat,meminfo_numa >> /var/log/pmm-linux-metrics-42000.log 2>&1
root 49038 49036 3 09:42 ? 00:00:25 /usr/local/percona/pmm-client/node_exporter -web.listen-address=3.28.6.246:42000 -web.auth-file=/usr/local/percona/pmm-client/pmm.yml -web.ssl-key-file=/usr/local/percona/pmm-client/server.key -web.ssl-cert-file=/usr/local/percona/pmm-client/server.crt -collectors.enabled=diskstats,filefd,filesystem,loadavg,meminfo,netdev,netstat,stat,time,uname,vmstat,meminfo_numa
root 49093 1 0 09:42 ? 00:00:00 /bin/sh -c /usr/local/percona/pmm-client/mysqld_exporter -web.listen-address=3.28.6.246:42002 -web.auth-file=/usr/local/percona/pmm-client/pmm.yml -web.ssl-key-file=/usr/local/percona/pmm-client/server.key -web.ssl-cert-file=/usr/local/percona/pmm-client/server.crt -collect.auto_increment.columns=false -collect.binlog_size=true -collect.global_status=true -collect.global_variables=true -collect.info_schema.innodb_metrics=true -collect.info_schema.innodb_cmp=true -collect.info_schema.innodb_cmpmem=true -collect.info_schema.processlist=true -collect.info_schema.query_response_time=true -collect.info_schema.tables=false -collect.info_schema.tablestats=false -collect.info_schema.userstats=true -collect.perf_schema.eventswaits=true -collect.perf_schema.file_events=true -collect.perf_schema.indexiowaits=false -collect.perf_schema.tableiowaits=false -collect.perf_schema.tablelocks=false -collect.slave_status=true >> /var/log/pmm-mysql-metrics-42002.log 2>&1
root 49095 49093 2 09:42 ? 00:00:20 /usr/local/percona/pmm-client/mysqld_exporter -web.listen-address=3.28.6.246:42002 -web.auth-file=/usr/local/percona/pmm-client/pmm.yml -web.ssl-key-file=/usr/local/percona/pmm-client/server.key -web.ssl-cert-file=/usr/local/percona/pmm-client/server.crt -collect.auto_increment.columns=false -collect.binlog_size=true -collect.global_status=true -collect.global_variables=true -collect.info_schema.innodb_metrics=true -collect.info_schema.innodb_cmp=true -collect.info_schema.innodb_cmpmem=true -collect.info_schema.processlist=true -collect.info_schema.query_response_time=true -collect.info_schema.tables=false -collect.info_schema.tablestats=false -collect.info_schema.userstats=true -collect.perf_schema.eventswaits=true -collect.perf_schema.file_events=true -collect.perf_schema.indexiowaits=false -collect.perf_schema.tableiowaits=false -collect.perf_schema.tablelocks=false -collect.slave_status=true
pmm-list.txt
pmm-admin 1.14.1
PMM Server | 3.28.7.221 (password-protected)
Client Name | ctd-ea
Client Address | 3.28.6.246
Service Manager | linux-systemd
-------------- ------- ----------- -------- ------------------------------------------ --------------------------------------------------------------------------------------
SERVICE TYPE NAME LOCAL PORT RUNNING DATA SOURCE OPTIONS
-------------- ------- ----------- -------- ------------------------------------------ --------------------------------------------------------------------------------------
mysql:queries ctd-ea - YES pmm:***@unix(/var/run/mysqld/mysqld.sock) query_source=slowlog, query_examples=true, slow_log_rotation=true, retain_slow_logs=1
linux:metrics ctd-ea 42000 YES -
mysql:metrics ctd-ea 42002 YES -
pmm-admin.txt
pmm-admin 1.14.1
PMM Server | 3.28.7.221 (password-protected)
Client Name | ctd-ea
Client Address | 3.28.6.246
Service Manager | linux-systemd
Go Version | 1.10.1
Runtime Info | linux/amd64
[B]Allow remote SSH:[/B]
vi /etc/ssh/sshd_config
Find PasswordAuthentication and set to "yes"
[B]Static IP:[/B]
3. Add the following to the bottom of /etc/cloud/cloud.cfg file (vi edit can be used):
([URL]https://www.percona.com/forums/questions-discussions/percona-monitoring-and-management/50853-ova-server-change-ip[/URL])
network: config: disabled
Then use network manager to change DHCP to static
# IP Address in CIDR notation
nmcli con mod "System eth0" ipv4.addresses 3.28.7.221/22
# Default gateway
nmcli con mod "System eth0" ipv4.gateway 3.28.4.254
# DNS
nmcli con mod "System eth0" ipv4.dns "10.220.220.220 10.220.220.221"
nmcli con mod "System eth0" ipv4.method manual
nmcli con mod "System eth0" connection.autoconnect yes
[B]Go to IP in web browser and setup system with pmm / pmm user and password.[/B]
[B]Then add server config on each client:[/B]
sudo pmm-admin config --server 3.28.7.221 --server-user pmm --server-password 'pmm'
Then add monitoring services with password for mysql
sudo pmm-admin add mysql --user pmm --password pmm
I have also included the configuration changes I have been making to the PMM install.