-
Linux Prometheus监控My...
mysql_exporter:用于收集MySQL性能信息。
https://github.com/prometheus/mysqld_exporter
https://grafana.com/dashboards/7362
登录mysql为exporter创建账号:
mysql> CREATE USER 'exporter'@'localhost' IDE...
-
linux Prometheus监控Do...
监控Docker服务器
cAdvisor(Container Advisor)用于收集正在运行的容器资源使用和性能信息。
https://github.com/google/cadvisor
https://grafana.com/dashboards/193
运行单个cAdvisor来监控整个Docker主机
docker run
--volume=/:/rootfs:ro
...
-
Linux node-exporter安...
基础环境
系统
IP
被监控主机
Centos7.7
192.168.6.21
关闭防火墙
Centos 7.5开始iptables就不存在了改成firewalld了,关闭掉方便点
systemctl stop firewalld.service
systemctl disable firew...
-
linux Prometheus和gra...
Prometheus自带的监控页面显示的内容没有那么直观,我们安装grafana来使监控数据看起来更加直观
安装grafana
监控主机(192.168.6.184)/usr/local 目录下
wget https://dl.grafana.com/oss/release/grafana-6.5.2-1.x86_64.rpm
yum localinstall grafana-6.5.2-1.x...
-
linux prometheus安装服务...
企业级运维监控理理论基础
为什么要监控
监视应用程序的当前状态是预测问题和发现生产环境中瓶颈的最有效方法之一。
监控是整个产品周期中最重要的一环,及时预警减少故障影响免扩大,而且能根据历史数据追溯问题。
对系统不间断实时监控
实时反馈系统当前状态
保证业务持续性运行
要监控什么
可以从其他监控产品公司了解到要监控啥。
硬件监控
...