摘要: 1.2.6 监控redis 使用reids_exporter采集的数据对msyql服务进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入redis数据采集的数据模版,可以看到有很多的模版,注意模版上描述的支持的数据源,我们需要选择p 阅读全文
posted @ 2024-12-15 20:31 tigerMao 阅读(60) 评论(0) 推荐(0)
摘要: 1.2.5 监控nginx 使用nginx_exporter采集的数据对msyql服务进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入nginx数据采集的数据模版,可以看到有很多的模版,注意模版上描述的支持的数据源,我们需要选择p 阅读全文
posted @ 2024-12-15 20:25 tigerMao 阅读(124) 评论(0) 推荐(0)
摘要: 1.2.4 监控java程序 使用mysqld_exporter采集的数据对msyql服务进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入jvm数据采集的数据模版,可以看到有很多的模版,注意模版上描述的支持的数据源,我们需要选择p 阅读全文
posted @ 2024-12-15 20:20 tigerMao 阅读(53) 评论(0) 推荐(0)
摘要: 1.2.3 监控mysql 使用mysqld_exporter采集的数据对msyql服务进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入mysql 数据采集的数据模版,可以看到有很多的模版,注意模版上描述的支持的数据源,我们需要选 阅读全文
posted @ 2024-12-15 20:14 tigerMao 阅读(58) 评论(0) 推荐(0)
摘要: 1.2.2 监控Jmeter的压测数据 使用influxdb中的Jmeter的压测上报数据,对Jmeter压测进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入Jmeter数据采集的数据模版,可以看到有很多的模版,我们Jmeter数 阅读全文
posted @ 2024-12-15 20:07 tigerMao 阅读(38) 评论(0) 推荐(0)
摘要: 1.2 配置Dashborads 1.2.1 监控linux主机 使用node_exporter采集的数据对linux主机进行监控 登录官方网站:https://grafana.com/grafana/dashboards/ 在搜索栏中输入Node Exporter 数据采集的数据模版,可以看到有很 阅读全文
posted @ 2024-12-15 19:59 tigerMao 阅读(73) 评论(0) 推荐(0)
摘要: 1.1 Data sources的配置 左侧菜单栏点击 Connections -> Data sources 打开添加数据源的项目 点击 + Add new data source 按键 开始添加数据源 1.1.1 添加 prometheus 数据源 输入prometheus对应的访问地址后,点击 阅读全文
posted @ 2024-12-15 19:43 tigerMao 阅读(33) 评论(0) 推荐(0)
摘要: 9 .安装redis_exporter 9.1 下载redis 官方下载地址:https://download.redis.io/releases/ 下载对应的redis的tar包 [root@master ~]# cd /opt/tgz/ [root@master tgz]# wget https 阅读全文
posted @ 2024-12-15 15:49 tigerMao 阅读(62) 评论(0) 推荐(0)
摘要: 8.安装nginx_exporter 8.1 安装nginx(二进制安装) 8.1.1 安装nginx的相关依赖包 [root@master ~]# yum install -y gcc-c++ zlib zlib-devel openssl openssl-devel pcre pcre-deve 阅读全文
posted @ 2024-12-15 15:44 tigerMao 阅读(919) 评论(0) 推荐(0)
摘要: 7.jxm_exporter实现对java程序的监控 7.1 下载jmx_exporter相关的jar包 官方地址:https://github.com/prometheus/jmx_exporter 官方的历史版本下载库地址:https://repo1.maven.org/maven2/io/pr 阅读全文
posted @ 2024-12-15 15:37 tigerMao 阅读(133) 评论(0) 推荐(0)
摘要: 6.安装mysqld_exporter 6.1下载mysqld_exporter的tar包(合理上网) 官网下载地址:https://prometheus.io/download/ 6.2 安装mysqld_exporter(安装了mysql的计算机需要安装) 创建存放安装包的目录(环境已经创建的可 阅读全文
posted @ 2024-12-15 15:30 tigerMao 阅读(1138) 评论(0) 推荐(0)
摘要: 5. 安装influxdb 5.1下载 influxdb(合理上网) 官网下载地址:https://www.influxdata.com/downloads/ 这里我们需要的是1.X系列的版本,安装时选择1.8.10 的最新版本 系统我们选择Centos的安装方式 创建存放安装包的目录(环境已经创建 阅读全文
posted @ 2024-12-15 15:25 tigerMao 阅读(131) 评论(0) 推荐(0)
摘要: 4. 安装grafana 4.1 安装mysql57,用于grafana的数据库,默认用的SQL数据库太慢,这里使用mysql代替 [root@master ~]# cd /opt/tgz # 下载mysql源安装包 [root@master ~]# wget http://dev.mysql.co 阅读全文
posted @ 2024-12-15 15:21 tigerMao 阅读(93) 评论(0) 推荐(0)
摘要: 3. 安装node_exporter 3.1 下载node_exporter的tar包(合理上网) 官网下载地址:https://prometheus.io/download/ 3.2 安装node_exporter(不需要监控linux的计算机不安装需要的安装) 创建存放安装包的目录(环境已经创建 阅读全文
posted @ 2024-12-15 15:13 tigerMao 阅读(444) 评论(0) 推荐(0)
摘要: 2. 安装prometheus 2.1 下载prometheus的tar包(合理上网) 官网下载地址:https://prometheus.io/download/ 选择TLS的稳定版本下载 2.2 安装prometheus 创建存放安装包的目录 [root@master ~]# mkdir -p 阅读全文
posted @ 2024-12-15 15:07 tigerMao 阅读(37) 评论(0) 推荐(0)
摘要: 1. 环境准备 1.1 需要关闭对应centos7系统的防火墙 [root@centos7 ~]# systemctl stop firewalld [root@centos7 ~]# systemctl disable firewalld [root@centos7 ~]# systemctl s 阅读全文
posted @ 2024-12-15 15:00 tigerMao 阅读(20) 评论(0) 推荐(0)
摘要: 官方网站:https://github.com/buger/goreplay 1.1 安装golong的环境 goreply是golong编写,需要安装golong环境 # 通过yum进行go环境的安装 [root@master tgz]# wget https://dl.google.com/go 阅读全文
posted @ 2024-12-15 14:57 tigerMao 阅读(484) 评论(0) 推荐(0)
摘要: 下载内存分析工具地址:https://eclipse.dev/mat/downloads.phphp) 下载对应的版本,我这里使用的windows的就下载windows版本的包,下载完成后解压 配置启动时的jdk的依赖,目前1.15.0版本的需要jdk17以上,我们在启动时需要手工修改MemoryA 阅读全文
posted @ 2024-12-15 14:54 tigerMao 阅读(75) 评论(0) 推荐(0)
摘要: 下载 arthas 官方网站:https://arthas.aliyun.com/doc [root@master ~]# curl -O https://arthas.aliyun.com/arthas-boot.jar 运行 arthas 会展示当前计算机执行的java的进程,可以通过序号+en 阅读全文
posted @ 2024-12-15 14:50 tigerMao 阅读(108) 评论(0) 推荐(0)
摘要: 官方网站下载:https://visualvm.github.io/download.html 下载zip文件解压到本地后,需要修改启动对应的系统环境的jdk的地址,visualvm_2110\etc 的目录下的 visualvm.conf 文件,配置当前环境的jdkhome后保存 visualvm 阅读全文
posted @ 2024-12-15 14:47 tigerMao 阅读(83) 评论(0) 推荐(0)
摘要: 在jdk的bin目录下,运行jconsole.exe 程序可以打开工具 在使用 java 命令启动服务时 添加如下参数 -Dcom.sun.management.jmxremote # 启用 jmx -Djava.rmi.server.hostname=10.0.0.100 # 运行的服务器ip - 阅读全文
posted @ 2024-12-15 14:38 tigerMao 阅读(35) 评论(0) 推荐(0)
摘要: 1.1 cup使用率进行排序 [root@master ~]# top -c top - 20:45:36 up 1:14, 4 users, load average: 0.45, 0.85, 0.53 Tasks: 125 total, 1 running, 124 sleeping, 0 st 阅读全文
posted @ 2024-12-15 14:33 tigerMao 阅读(62) 评论(0) 推荐(0)
摘要: 1.1 检查当前磁盘的使用情况 [root@master ~]# df 文件系统 1K-块 已用 可用 已用% 挂载点 devtmpfs 2001044 0 2001044 0% /dev tmpfs 2013080 0 2013080 0% /dev/shm tmpfs 2013080 11812 阅读全文
posted @ 2024-12-15 14:31 tigerMao 阅读(45) 评论(0) 推荐(0)
摘要: 1.1iftop工具安装 [root@master ~]# yum install iftop -y 已加载插件:fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.aliyun.com * extras: 阅读全文
posted @ 2024-12-15 14:26 tigerMao 阅读(87) 评论(0) 推荐(0)
摘要: 1.1 iperf3工具的安装 由于 iperf3 工具 是测试两台计算机之间的网络带宽的工具,因此需要再两台计算机上都进行安装 [root@slave ~]# yum install iperf3 -y 已加载插件:fastestmirror Loading mirror speeds from 阅读全文
posted @ 2024-12-15 14:24 tigerMao 阅读(132) 评论(0) 推荐(0)
摘要: 1.1 下载nmon工具 官方网站下载地址:https://nmon.sourceforge.io/pmwiki.php?n=Site.Download 下载 nmon16e_mpginc.tar.gz 的安装包 1.2 nmon工具早Centos7的安装 解压文件 nmon16e_mpginc.t 阅读全文
posted @ 2024-12-15 14:11 tigerMao 阅读(216) 评论(0) 推荐(0)