Prometheus监控系统 安装与配置详细教程

https://blog.csdn.net/weixin_34212189/article/details/91673377?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1.no_search_link&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7Edefault-1.no_search_link

 

Prometheus系列————Linux系统安装,配置后台启动方式

https://blog.csdn.net/qq_32415063/article/details/105607008

cat > /etc/systemd/system/prometheus.service << EOF
[Unit]
Description=Prometheus
Documentation=https://prometheus.io/docs/introduction/overview/
Wants=network-online.target
After=network-online.target

[Service]
User=root
Group=root
Type=simple
# 启动脚本
ExecStart=/appdata/prometheus/prometheus-2.17.1.linux-amd64/prometheus.sh

[Install]
WantedBy=multi-user.target

EOF

 

 

 

node_exporter 配置(设置为开机自启动)

systemctl daemon-reload

firewall-cmd --zone=public --add-port=9100/tcp --permanent

firewall-cmd --reload

 ln -s /opt/node_exporter/node_exporter-1.2.2/node_exporter /usr/local/bin/node_exporter

ln -s /usr/local/prometheus/node_exporter/node_exporter-1.2.2/node_exporter /usr/local/bin/node_exporter

cat > /etc/systemd/system/node_exporter.service << EOF
[Unit]
Description=node_exporter
Documentation=https://prometheus.io/
Wants=network-online.target
After=network-online.target
[Service]
User=root
Group=root
Type=simple
ExecStart=/usr/local/bin/node_exporter
Restart=on-failure
[Install]
WantedBy=multi-user.target
EOF

 systemctl daemon-reload

systemctl start node_exporter.service

systemctl status node_exporter.service 

 systemctl enable node_exporter.service

 

 curl -X POST http://localhost:9090/-/reload

 

 

 

prometheus 监控概述(一)

https://blog.51cto.com/wzlinux/2487300

 

prometheus 安装与配置(二)

 https://blog.51cto.com/wzlinux/2489659

 

Prometheus监控系统 安装与配置详细教程

https://blog.51cto.com/u_15064632/4054749

 

自定义标签

https://segmentfault.com/a/1190000023914867

https://www.jianshu.com/p/1f05476ebcee

https://blog.csdn.net/qq_42883074/article/details/115894190

https://blog.csdn.net/weixin_38645718/article/details/102877727

 

从零搭建Prometheus监控报警系统

https://www.cnblogs.com/chenqionghe/p/10494868.html

 

【prometheus系列】4、Grafana安装与配置

https://blog.51cto.com/root/3033726

(一)prometheus + grafana + alertmanager 配置主机监控

(二)prometheus + grafana + alertmanager 配置Mysql监控

(三)prometheus + grafana + alertmanager 配置Redis监控

(四)prometheus + grafana + alertmanager 配置Kafka监控

(五)prometheus + grafana + alertmanager 配置ES监控

相关文章:

  • 2021-07-11
  • 2022-12-23
  • 2021-06-12
  • 2021-11-17
  • 2022-02-27
  • 2021-12-05
  • 2021-12-19
  • 2021-05-03
猜你喜欢
  • 2021-11-17
  • 2021-12-23
  • 2021-10-29
  • 2021-10-24
  • 2021-12-10
  • 2021-07-31
相关资源
相似解决方案