![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
prometheus
文章平均质量分 63
liaos123
这个作者很懒,什么都没留下…
展开
-
prometheus监控系统规范与流程
概要本文档主要介绍监控的使用方法、监控的配置规范以及监控的使用流程。简介:监控使用的架构为exporter+prometheus+grafana+alermanager。其中exporter包含主机,http/tcp和进程探测等功能。prometeus通过pull的方式采集机器上的指标并评估指标,将符合rule规则的指标推送至alertmanager,alertmanager通过各种渠道推送相应的告警。grafana展示prometheus采集的各种指标。监控简要架构图如下:一、部署规范说明:原创 2021-07-27 19:02:43 · 1671 阅读 · 0 评论 -
alertmanager发送告警至es并搭建简要面板
实现方法:安装alertmanager2es将告警信息推送至es。再通过kibana进行页面展示化安装https://github.com/webdevops/alertmanager2esgit clone https://github.com/webdevops/alertmanager2escd alertmanager2es/make vendormake buildmake vendor若出现则https://blog.csdn.net/w345731923/article/d原创 2021-03-06 23:04:37 · 884 阅读 · 0 评论 -
alertmanager配置企业微信告警
alertmanager配置企业微信alertmanager部署详见prometheus的方案设计以及部署详解配置企业微信:[root@bogon ~]# cat /etc/alertmanager/alertmanager.ymlglobal: resolve_timeout: 5m wechat_api_url: 'https://qyapi.weixin.qq.com/cgi-bin/'templates:- '/etc/alertmanager/wechat.tmpl'rout原创 2021-03-06 22:48:03 · 2394 阅读 · 0 评论 -
prometheus监控服务端口
实现思路:借助blackbox exporter利用端口探测是方式实现监控服务端口。实现步骤下载地址:https://github.com/prometheus/blackbox_exporter下载tar.gz的安装包,这里演示0.16.0的版本安装步骤:1、解压安装包并赋权tar -zxvf blackbox_exporter-0.16.0.linux-amd64.tar.gz -C /usr/local/mv blackbox_exporter-0.16.0.linux-amd64原创 2021-03-06 22:04:06 · 7426 阅读 · 13 评论 -
centos7 prometheus远程存储influxdb安装与部署
安装influxdb (rpm)wget https://dl.influxdata.com/influxdb/releases/influxdb-1.7.7.arm64.rpm启动服务systemctl enable influxdbsystemctl start influxdb配置文件/etc/influxdb/influxdb.conf本地连接数据库influx -precision rfc3339创建数据库和用户:create database prometheuscreat原创 2021-03-03 12:31:22 · 761 阅读 · 0 评论 -
centos7安装Consul
下载连接https://www.consul.io/downloads.html这里演示arm版下载wget https://releases.hashicorp.com/consul/1.7.2/consul_1.7.2_linux_arm64.zipunzip consul_1.7.2_linux_arm64.zip设置开机自启动[root@bogon ~]# cat /usr/lib/systemd/system/consul.service [Unit]Description=Co原创 2021-03-03 11:24:40 · 220 阅读 · 0 评论 -
blackbox exporter制定非200指定内容返回策略
规则prometeus blackbox get方式设置非200状态码或者返回 特定内容即为成功思路:在blackbox上设置模板 http_get: prober: http timeout: 15s http: valid_status_codes: [503] preferred_ip_protocol: "ip4" method: GET fail_if_body_not_matches_regexp:原创 2021-03-03 11:17:21 · 574 阅读 · 0 评论 -
prometheus方案设计以及部署详解
prometheus架构设计2、prometheus监控系统搭建1、安装环境准备1.1 关闭selinux1.2 安装go环境1.3 系统主机时间、时区、系统语言3、prometheus安装4、node_exporter(wmi_exporter的安装)5、blackbox exporter的安装6、mysql exporter安装7、oracle采集器安装(linux)8、alertmanager安装9、grafana安装部署10、influxdb部署(详见influxdb)采集区的各个exporte原创 2021-03-03 11:12:51 · 841 阅读 · 0 评论