摘要:
一:安装插件 1.1 查看nginx已启用tub_status模块 nginx -V 2>&1 | grep -o with-http_stub_status_module 如果在终端输出with-http_stub_status_module,说明nginx已启用tub_status模块 在ngi 阅读全文
随笔- 22
文章- 0
评论- 1
阅读-
11179
摘要:
1.1 下载blackbox_exporte插件 在https://github.com/prometheus/blackbox_exporter 上下载blackbox_exporte对应版本安装包,并上传到prometheus 服务器 /usr/local 目录 1.2 安装blackbox_e 阅读全文
摘要:
一:安装插件1.1 下载mysqld_exportermysqld_exporter 是一个用于监控 MySQL 服务器的开源工具,它是由 Prometheus 社区维护的一个官方 Exporter。该工具通过连接到 MySQL 服务器并执行各种查询来收集关于 MySQL 服务器性能和状态的指标,并 阅读全文
摘要:
一:下载prometheus+grafana安装包,并部署安装包 1.0 上传软件包 从清华源(https://mirrors.tuna.tsinghua.edu.cn/)的镜像库下载安装包,根据系统选择相应版本,我选择的是prometheus-2.52.0.linux-amd64.tar.gz+g 阅读全文
摘要:
一.系统环境初始化,所有节点都要做 服务器清单 10.12.121.190 k8s-01-master 10.12.121.191 k8s-01-node 根据实际更改初始化化hosts解析以及hostname,改完以后直接分别在master,node节点上执行执行 #配置服务器时间保持一致 yum 阅读全文
摘要:
一:系统环境初始化(所有节点都需要操作)1.配置服务器时间保持一致yum -y install ntpdatentpdate ntp1.aliyun.com 添加定时同步 每天凌晨0点自动同步时间echo "0 0 * * * ntpdate ntp1.aliyun.com" >> /var/spo 阅读全文
摘要:
1.简介 nc是netcat的简写,是一个功能强大的网络工具,有着网络界的瑞士军刀美誉。nc命令在linux系统中实际命令是ncat,nc是软连接到ncat。nc命令的主要作用如下: 实现任意TCP/UDP端口的侦听,nc可以作为server以TCP或UDP方式侦听指定端口端口的扫描,nc可以作为c 阅读全文
摘要:
启动加载配置文件 [root@172 sbin]#/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf 检查配置信息是否正确 [root@172 sbin]# /usr/local/nginx/sbin/nginx -t ng 阅读全文
摘要:
[root@localhost grafana]# cd /etc/grafana/ [root@localhost grafana]# vim grafana.ini 注意:发件邮件要开启smtp服务,此处密码为smtp服务授权码,非邮箱登录密码 配置完之后需要重启服务 [root@localho 阅读全文
摘要:
CentOS6关闭防火墙使用以下命令, //临时关闭 service iptables stop //禁止开机启动 chkconfig iptables off CentOS7中若使用同样的命令会报错, stop iptables.service Failed to stop iptables.se 阅读全文