| Key | Value |
|---|---|
| 开源 | https://github.com/RayWangQvQ/ray-sh/tree/main/prometheus |
| Github Raw | https://raw.githubusercontent.com/RayWangQvQ/ray-sh/refs/heads/main/prometheus/node_exporter_installer.sh |
| 功能描述 | 一键安装和管理 Prometheus 的 Node Exporter 探针 |
Node Exporter因为是监控物理机的基础信息,官方并不推荐使用容器来安装,不基于docker我又经常忘记怎么查看状态、日志和卸载,所以有个脚本来统一管理还是比较有用的。
一键安装指令:
bash <(curl -sSL https://raw.githubusercontent.com/RayWangQvQ/ray-sh/main/prometheus/node_exporter_installer.sh)
没有root的(Serv00或dataonline等空间类型的服务器)可以用下面的:
bash <(curl -sSL https://raw.githubusercontent.com/RayWangQvQ/ray-sh/main/prometheus/node_exporter_installer_non_root.sh)
功能菜单

运行

访问
成功后 IP + 端口访问:

面板
添加到 Prometheus 和 Grafana 后(以面板ID: 23333 为例):

之前都是自己使用,写得比较潦草。
看到论坛的活动,逼着自己去优化了下,使支持多系统和用户动态交互了。
果然写代码还是要目标驱动 
从哪吒迁移了 Prometheus 和 Grafana 后,也是小折腾了一段时间,积累了一丢丢经验,改天有空准备整理下,出个系列教程,讲下怎么安装 Prometheus 和 Grafana、怎么反代、怎么理解时序形数据库、怎么画自己自定义的 Grafana 面板...
先预告占个坑位,也算是另一种目标驱动倒逼自己吧~

@SomeBlu #1 是我自己画的,ID 23333,https://grafana.com/grafana/dashboards/23333-node-exporter-overview/, 到时候不回来给我投票头都给你打烂
别的跳过,请给我你的gf面板,谢谢🙏
BTW,脚本测试使用了 @AliceNetwork 的 Ephemera,太TM好用啦

grafana的配置还是太复杂了
萌新装了,发现网卡监控没流量……
Cy求踢!
不懂就问Grafana是不是属于主控
@在7楼 #0 支持
,请教下你这个标题彩图是用什么工具生成的?
@SomeBlu #1
这是大佬> @Bene #0写的面板