Percona Monitoring and Management (PMM)安装使用
一、docker安装
参考:http://www.cnblogs.com/liuyongsheng/articles/6595353.html
二、Percona Monitoring and Management (PMM)安装
1、获取镜像
[root@monitor ~]# docker pull percona/pmm-server
Using default tag: latest
latest: Pulling from percona/pmm-server
c60055a51d74: Pull complete
755da0cdb7d2: Pull complete
969d017f67e6: Pull complete
37c9a9113595: Pull complete
a3d9f8479786: Pull complete
b6ab3b0bfa0d: Pull complete
65ab16956847: Pull complete
a1417d0dd36e: Pull complete
97fa057ce7a8: Pull complete
a58aa2e3d188: Pull complete
a91dfa894b5c: Pull complete
c8aaab5d6dd1: Pull complete
f2e439363693: Pull complete
19471b0bedf3: Pull complete
836c269361ef: Pull complete
5faa36b0e7e5: Pull complete
bdef22c080c7: Pull complete
595467d59d25: Pull complete
f636241c708a: Pull complete
61a4967f7976: Pull complete
1acd44e68ea8: Pull complete
25b64909c59a: Pull complete
Digest: sha256:a12d17e48ceffce7f92d27f84dc827848626c144117a88ec4bf0d43a39dc6479
Status: Downloaded newer image for percona/pmm-server:latest
[root@monitor ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
percona/pmm-server latest 21e0ea6d9e06 4 weeks ago 737 MB
hello-world latest 48b5124b2768 2 months ago 1.84 kB
2、Create a PMM Data Container
[root@monitor ~]# docker tag percona/pmm-server percona/pmm-server:1.1.1
[root@monitor ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
percona/pmm-server 1.1.1 21e0ea6d9e06 4 weeks ago 737 MB
percona/pmm-server latest 21e0ea6d9e06 4 weeks ago 737 MB
hello-world latest 48b5124b2768 2 months ago 1.84 kB
[root@monitor ~]# docker create \
> -v /opt/prometheus/data \
> -v /opt/consul-data \
> -v /var/lib/mysql \
> -v /var/lib/grafana \
> --name pmm-data \
> percona/pmm-server:1.1.1 /bin/true
59dcfd8e715532141bd52df1a12b9c7864600dd3981273693d1c7e0c9060bc08
3、Create and Run the PMM Server Container
[root@monitor ~]# docker run -d \
> -p 8080:80 \
> --volumes-from pmm-data \
> --name pmm-server \
> --restart always \
> percona/pmm-server:1.1.1
136eb3d556d4295bc2b0d5b1e6cceb643c29cab27cb44270d323560ef6c67403
[root@monitor ~]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
136eb3d556d4 percona/pmm-server:1.1.1 "/opt/entrypoint.sh" 4 seconds ago Up 3 seconds 443/tcp, 0.0.0.0:8080->80/tcp pmm-server
[root@monitor ~]# netstat -tlnp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1053/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1974/master
tcp6 0 0 :::8080 :::* LISTEN 19226/docker-proxy
tcp6 0 0 :::22 :::* LISTEN 1053/sshd
tcp6 0 0 ::1:25 :::* LISTEN 1974/master
4、确认安装信息

5、PMM Client安装
Percona Monitoring and Management (PMM)安装使用的更多相关文章
- mysql/mongodb监控之Percona Monitoring and Management (PMM) 2.1.0安装使用
Percona Monitoring and Management (PMM)是Percona Server一款开源的用于管理和监控MySQL和MongoDB性能的开源平台,通过PMM客户端收集到的D ...
- Percona Monitoring and Management (PMM) - 快速入门
前言 数据库监控工具最常用的就是zabbix了,zabbix能将收集到的数据通过图表展示出来,并通过设置阈值及时告警.可zabbix对于文本的处理就不行了,比方说抓取数据库运行的sql,这个zabbi ...
- 利用Percona monitoring for zabbix监控MySQL
系统要求 被监控的主机及mysql监控账号,zabbix agent 2.0或以上(最好与zabbix-server版本相同),php, php-mysql(php版本没有限制,经测试5.3是可以的. ...
- Docker部署Zabbix监控MariaDB主从同步(Percona Monitoring Plugins for Zabbix)
一.安装Docker并部署Zabbix 建议先配置清华大学的docker-ce yum源,速度有保障:清华大学repo源 1.Zabbix Server节点配置 部署环境: [root@server0 ...
- PMM安装-第一篇
一 简介 今天来聊聊 PMM安装使用 二 安装 1 server端执行 curl -sSL https://get.daocloud.io/docker | sh docker pull p ...
- Zabbix 3.x中使用Percona Monitoring Plugins监控MySQL
1.下载安装percona-zabbix-templates-1.1.7-2.noarch.rpm 下载地址:https://www.percona.com/downloads/percona-mon ...
- Zabbix 3.2.6-Mysql多实例监控-Percona Monitoring Plugins自动发现
mysql多实例监控实录 系统环境: cat /etc/redhat-release CentOS Linux release 7.3.1611 (Core) 内核版本: uname -r 3.1 ...
- 修正Percona Monitoring Plugins for Zabbix的一处脚本Bug
今天小试了一把Percona Monitoring Plugins for Zabbix模板,自己辛辛苦苦写的那一大堆Python脚本,貌似用这个模板全都覆盖到了.但是,我也发现最新的版本percon ...
- Sql Server 2008 Management studio安装教程
Sql Server 2008 Management studio安装教程 以下介绍Visual Studio 2010已安装后,sql server 2008 management stud ...
随机推荐
- jqGrid的editrules参数
原文链接:http://blog.csdn.net/mengtianyalll/article/details/13502841 editrules editrules是用来设置一些可用于可编辑 ...
- 最长公共子序列(稀疏序列)nlogn解法
首先这种做法只能针对稀疏序列, 比如这种情况: abc abacabc. 会输出5 ,,,,就比较尴尬, #include<iostream> #include<cstdio> ...
- windows下安装mycat,并简单使用
使用mycat需要先安装jdk1.7以上 参考:http://www.cnblogs.com/llhhll/p/9257764.html 1从官网下载解压后目录如下(1.6版本) 下载地址:https ...
- STM8S103之中断优先级设置
STM8S的中断由中断控制器(ITC)控制.STM8所有IO都支持中断,分为PA~PE 5个组,每组IO对应一个中断服务函数(也就是每组IO只有一个向量).STM8没有专门的中断状态寄存器,所以只能通 ...
- HDU 1394 Minimum Inversion Number【 树状数组 】
题意:给出n个数,每次可以把第一个数挪到最后一个位置去,问这n种排列里面的最小逆序对数 先把最开始的逆序对数求出来 然后对于一个数a[i],比它小的数有a[i] - 1个,比它大的数有n - a[i] ...
- 设置fixed,横向滚动条失效
window.onscroll = function(){ var sl = -Math.max(document.body.scrollLeft,document.documentElement.s ...
- jquery复制到剪贴板
<!DOCTYPE html> <html> <head> <title>ZeroClipboard Test</title> <me ...
- mysql 百万级查询优化
关于mysql处理百万级以上的数据时如何提高其查询速度的方法 最近一段时间由于工作需要,开始关注针对Mysql数据库的select查询语句的相关优化方法. 由于在参与的实际项目中发现当mysql表的数 ...
- java 对象 拆箱装箱 编译和反编译的验证
创建对象 package 创建对象的个数; public class main { public static void main(String[] agrs){ Check c1=new Check ...
- Web长连接推送
http://www.workerman.net/web-sender http://wahahachuang5.iteye.com/blog/2311313