
监控
秋天的春
编程哪里是什么艺术!只不过是把简单的思维方式赋予给了计算机。
展开
-
Grafana 插件地图Worldmap不显示
Grafana 插件地图Worldmap不显示介绍最近上了ELK 日志分析,想着手看下用户的分布情况,在kibana 中展示用户分布情况是没有问题的,但是索引添加到Granfana 中的话就无法展示。问题描述添加ES索引以后,map地图一片黑,不显示地图信息以及数据。但是有显示图例。后来发现是网络的问题,地图的URL是外面的,国内看不到。解决方法替换插件里Grafana文件图片地址# cd /var/lib/grafana/plugins/ # grafana-w.原创 2020-09-10 13:25:00 · 2847 阅读 · 0 评论 -
Prometheus监控PHP-FPM
环境系统:CentOS 7.5软件:php-fpm-exporter.linux.amd64准备PHP-FPM端相关连接https://easyengine.io/tutorials/php/fpm-status-pagehttps://blog.youkuaiyun.com/ffzhihua/article/details/88844259 配置PHP-FPM # ...原创 2019-03-27 15:46:03 · 2887 阅读 · 0 评论 -
centos7 node-exporter常用指标含义
node-exporter常用指标含义https://www.gitbook.com/book/songjiayang/prometheus/details(Prometheus 实战)https://github.com/1046102779/prometheus(Prometheus 非官方中文手册)http://www.bubuko.com/infodetail-20...原创 2019-03-04 18:46:37 · 2248 阅读 · 0 评论 -
pronetheus node_exporter可视化及常规指标---centos6
pronetheus node_exporter可视化及常规指标prometheus监控设备基础项简单整理一些常规的监控查询语句,也可以直接从grafana官网下载相关的模板,模板中有相当高效优质的查询语句,推荐使用模板cpucpu一分钟负载node_load1memoary内存总量node_memory_MemTotal占用内存(不准确)node...原创 2019-03-04 18:44:46 · 1327 阅读 · 0 评论 -
Pushgateway 安装和使用
Pushgateway 安装和使用安装二进制安装你可以到下载页面,选择对应的版本, 以 v0.4.0 为例子,使用 wget 下载 pushgatewaycd ~/Downloadhttps://github.com/prometheus/pushgateway/releases/download/v0.4.0/pushgateway-0.4.0.linux-amd64.ta...原创 2019-02-20 15:57:53 · 10566 阅读 · 0 评论 -
Prometheus浅析
Prometheus浅析 1.Prometheus是什么? Prometheus(下文称Prom) 是由 SoundCloud 开源监控告警解决方案,与Kubernetes同属CNCF,它已经成为炙手可热的Kubernetes生态圈中的核心监控系统,越来越多的项目(如Kubernetes和etcd等 )都加入了丰富的Prometheus原生支持, Prom提供了通用的数据模型和...原创 2019-01-29 18:45:37 · 1028 阅读 · 0 评论 -
Grafana+prometheus 使用 Email 或 钉钉告警
Grafana+prometheus 使用 Email 或 钉钉告警 配置文件准备:修改prometheus的配置文件,主要配置其拉去数据的地址prometheus.ymltargets 中的地址是需要拉去数据的服务地址,此配置文件中只配pushgateway的服务地址。(同时可以添加node_exporter地址,来监控服务器的一些资源数据,例如配置中被注释的 node ...原创 2019-01-29 18:00:34 · 6206 阅读 · 3 评论 -
grafana的邮件报警Alerting
grafana的邮件报警Alerting grafana 4版本以上支持了alert功能,这使得利用grafana作为监控面板更为完整,因为只有alert功能才能称得上监控。email报警前设置SMTP服务:配置模板如下:打开grafana.ini配置,我的是163开启alert#################################### Alerting #...原创 2019-01-22 15:18:51 · 2995 阅读 · 0 评论 -
'my2.status' doesn't exist
Templating init failed Error 1146: Table 'my2.status' doesn't exist grafana安装mysql simple dashboard后提示Templating init failed Error 1146: Table 'my2.status' doesn't exist上面的错误,这是因为我们还有一个工作没做完,监控mys...原创 2019-01-24 15:21:00 · 1196 阅读 · 0 评论 -
prometheus+grafana搭建监控系统
环境prometheus+grafana 192.168.210.99 agent01(被监控端) 192.168.210.100 agent02(被监控端) 192.168.210.101一、介绍PrometheusPrometheus(普罗米修斯)是一套开源的监控&报警&时间序列数据库的组合,起始是由SoundCloud公司开发的。随着发展,越来越多公司和组织接...原创 2019-01-17 16:34:26 · 1641 阅读 · 0 评论