会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
麦兜大表哥
博客园
首页
新随笔
联系
管理
订阅
2024年10月12日
prometheus+grafana 监控nginx
摘要: 一:安装插件 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
阅读全文
posted @ 2024-10-12 18:03 学习笔记p
阅读(179)
评论(0)
推荐(0)
2024年5月14日
prometheus+grafana 使用blackbox_exporte监控站点url
摘要: 1.1 下载blackbox_exporte插件 在https://github.com/prometheus/blackbox_exporter 上下载blackbox_exporte对应版本安装包,并上传到prometheus 服务器 /usr/local 目录 1.2 安装blackbox_e
阅读全文
posted @ 2024-05-14 09:41 学习笔记p
阅读(241)
评论(0)
推荐(0)
2024年5月11日
prometheus+grafana 监控mysql数据库
摘要: 一:安装插件1.1 下载mysqld_exportermysqld_exporter 是一个用于监控 MySQL 服务器的开源工具,它是由 Prometheus 社区维护的一个官方 Exporter。该工具通过连接到 MySQL 服务器并执行各种查询来收集关于 MySQL 服务器性能和状态的指标,并
阅读全文
posted @ 2024-05-11 13:57 学习笔记p
阅读(427)
评论(0)
推荐(0)
2024年5月10日
prometheus+grafana 监控告警部署
摘要: 一:下载prometheus+grafana安装包,并部署安装包 1.0 上传软件包 从清华源(https://mirrors.tuna.tsinghua.edu.cn/)的镜像库下载安装包,根据系统选择相应版本,我选择的是prometheus-2.52.0.linux-amd64.tar.gz+g
阅读全文
posted @ 2024-05-10 14:58 学习笔记p
阅读(434)
评论(0)
推荐(0)
2024年1月12日
k8s 1.26.3 部署(containerd+centos 7.9)
摘要: 一.系统环境初始化,所有节点都要做 服务器清单 10.12.121.190 k8s-01-master 10.12.121.191 k8s-01-node 根据实际更改初始化化hosts解析以及hostname,改完以后直接分别在master,node节点上执行执行 #配置服务器时间保持一致 yum
阅读全文
posted @ 2024-01-12 11:15 学习笔记p
阅读(387)
评论(1)
推荐(1)
2023年10月17日
k8s 1.26.4的安装步骤(使用kubeadm安装master+1节点) ——( centos7.9,cri-dockerd插件)
摘要: 一:系统环境初始化(所有节点都需要操作)1.配置服务器时间保持一致yum -y install ntpdatentpdate ntp1.aliyun.com 添加定时同步 每天凌晨0点自动同步时间echo "0 0 * * * ntpdate ntp1.aliyun.com" >> /var/spo
阅读全文
posted @ 2023-10-17 14:22 学习笔记p
阅读(444)
评论(0)
推荐(0)
2022年10月28日
Linux命令之nc命令
摘要: 1.简介 nc是netcat的简写,是一个功能强大的网络工具,有着网络界的瑞士军刀美誉。nc命令在linux系统中实际命令是ncat,nc是软连接到ncat。nc命令的主要作用如下: 实现任意TCP/UDP端口的侦听,nc可以作为server以TCP或UDP方式侦听指定端口端口的扫描,nc可以作为c
阅读全文
posted @ 2022-10-28 09:37 学习笔记p
阅读(782)
评论(0)
推荐(0)
2022年10月27日
nginx启动命令
摘要: 启动加载配置文件 [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
阅读全文
posted @ 2022-10-27 14:29 学习笔记p
阅读(325)
评论(0)
推荐(0)
grafana配置邮箱告警
摘要: [root@localhost grafana]# cd /etc/grafana/ [root@localhost grafana]# vim grafana.ini 注意:发件邮件要开启smtp服务,此处密码为smtp服务授权码,非邮箱登录密码 配置完之后需要重启服务 [root@localho
阅读全文
posted @ 2022-10-27 10:14 学习笔记p
阅读(119)
评论(0)
推荐(0)
CentOS7/6 关闭防火墙(转载)
摘要: CentOS6关闭防火墙使用以下命令, //临时关闭 service iptables stop //禁止开机启动 chkconfig iptables off CentOS7中若使用同样的命令会报错, stop iptables.service Failed to stop iptables.se
阅读全文
posted @ 2022-10-27 09:11 学习笔记p
阅读(6182)
评论(0)
推荐(0)
下一页