摘要: cluster.name: name # 集群名称 node.name: node-1 # 节点名称 node.master: true # 意思是该节点为主节点 node.data: true # 表示这是数据节点 path.data: /oradata/elk/data # 数据存放的路径 pa 阅读全文
posted @ 2019-07-22 20:19 niubihahadewo 阅读(393) 评论(0) 推荐(0)
摘要: 老实说grafana告警不是很好用,也不能分级告警。建议用prometheus的告警 1.配置告警规则 2.配置grafana 文件 defaults.ini 我这里是用的移动139邮箱, [smtp]enabled = truehost = smtp.139.com:25 #######139 s 阅读全文
posted @ 2019-07-21 22:54 niubihahadewo 阅读(8631) 评论(0) 推荐(0)
摘要: 结构简单说明一下:nginx+Logstash+redis单机+Logstash+Elasticsearch集群+grafana+kibana(这里没有用,而是用grafana展示) 一。nginx日志格式 log_format main '$remote_addr [$time_local] "$ 阅读全文
posted @ 2019-07-21 22:41 niubihahadewo 阅读(1238) 评论(0) 推荐(0)
摘要: 首先为啥用consul动态注册 1.这个有健康检测,可以检测exporter的状态, 2.避免频繁的修改prometheus配置文件,方便管理 3.consul可以做集群避免单点故障 这里就用blackbox_exporter+consul+prometheus+grafana 一。安装blackb 阅读全文
posted @ 2019-07-21 21:33 niubihahadewo 阅读(4239) 评论(1) 推荐(0)
摘要: 一.安装blackbox_exporter 在我的随笔里面有百度云链接 https://www.cnblogs.com/lc226/p/11222048.html 1.下载解压后 nohup ./blackbox_exporter & 2.查看输出结果 tail -f nohup.out 二.配置p 阅读全文
posted @ 2019-07-21 20:36 niubihahadewo 阅读(824) 评论(0) 推荐(0)
摘要: 鉴于上一篇随笔已经写了如何搭建prometheus故此篇附上连接:https://www.cnblogs.com/lc226/p/11222048.html,同时省略了一些基础步骤 一.安装redis_exporter 下载可以去git上下或者https://www.cnblogs.com/lc22 阅读全文
posted @ 2019-07-21 20:01 niubihahadewo 阅读(3173) 评论(0) 推荐(0)
摘要: 鉴于近期正好在研究监控方面的工具,所以有了这篇搭建随笔。鉴于是随笔,所以有些地方没有详细解释,后期会慢慢补上,这里仅写了如何搭建。 一.前期规划和准备 1.软件安装规划 介于个人虚拟机只有2台, 故安排: 172.16.16.80 安排上 全部的exporter+prometheus+grafana 阅读全文
posted @ 2019-07-21 19:31 niubihahadewo 阅读(1650) 评论(0) 推荐(0)