监控
文章平均质量分 75
mnasd
这个作者很懒,什么都没留下…
展开
-
监控MySQL运行状态:MySQLD Exporter
通常来说从内存中读取数据的速度要比从磁盘中读取快很多,因此,如果Innodb_buffer_pool_reads的值开始增加,可能意味着数据库的性能有问题。因此,应该关注MySQL缓冲池的资源使用情况,并且在合理的时间扩大缓冲池的大小可以优化数据库的性能。通过Global Status中的Threads_connected、Aborted_connects、Connection_errors_max_connections以及Threads_running可以查看当前MySQL实例的连接情况。转载 2022-09-25 21:04:26 · 1554 阅读 · 0 评论 -
部署skyWalking
以下安装所需要的安装包和示例配置文件链接:https://pan.baidu.com/s/1qqzqcrMYALZ-4J9qDVpdVA?pwd=6hkz提取码:6hkz。转载 2022-09-25 14:14:28 · 2416 阅读 · 0 评论 -
Prometheus黑盒监测之blackbox_exporter
1 什么是黑盒监控我们监控主机的资源用量、容器的运行状态、数据库中间件的运行数据。这些都是支持业务和服务的基础设施,通过白盒能够了解其内部的实际运行状态,通过对监控指标的观察能够预判可能出现的问题,从而对潜在的不确定因素进行优化。而从完整的监控逻辑的角度,除了大量的应用白盒监控以外,还应该添加适当的黑盒监控。黑盒监控即以用户的身份测试服务的外部可见性,常见的黑盒监控包括HTTP探针、TCP探针等用于检测站点或者服务的可访问性,以及访问效率等。黑盒监控相较于白盒监控最大的不同在于黑盒监控是以故障为原创 2022-04-25 20:23:55 · 8541 阅读 · 0 评论 -
alertmanager配置文件详解
global: # 经过此时间后,如果尚未更新告警,则将告警声明为已恢复。(即prometheus没有向alertmanager发送告警了) resolve_timeout: 5m # 配置发送邮件信息 smtp_smarthost: 'smtp.qq.com:465' smtp_from: '742899387@qq.com' smtp_auth_username: '742899387@qq.com' smtp_auth_password: 'password' smt.原创 2022-02-28 22:28:55 · 2573 阅读 · 0 评论 -
深入Alertmanager 概念与配置介绍
目录【1】Alertmanager工作机制 【2】AlertManager的三个概念 分组(Grouping) 抑制(Inhibition) 静默(Silences) 【3】安装Alertmanager 【3.1】二进制安装 【3.2】Alertmanager 参数 【4】Alertmanager配置详解 【4.1】案例演示 【4.2】route 路由匹配规则 【4.3】receiver 接收器 【4.4】inhibit_rules 抑制器 【5】警报.转载 2022-02-27 14:05:56 · 1231 阅读 · 0 评论 -
Prometheus 报警规则配置
提供下我整理的node-exporter的记录规则和报警规则。node-exporter-record-rules.ymlgroups: - name: node-exporter-record rules: - expr: up{job=~"node-exporter"} record: node_exporter:up labels: desc: "节点是否在线, 在线1,不在线0" unit: " "原创 2022-01-21 22:47:48 · 1842 阅读 · 0 评论 -
prometheus配置详解
prometheus原创 2022-01-16 19:42:48 · 9438 阅读 · 2 评论 -
openfalcon监控nginx
nginx版本nginx/1.12.0编译 --prefix=/opt/nginx --user=app --group=app --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --wit...原创 2018-04-08 16:12:50 · 590 阅读 · 0 评论 -
openfalcon 基本监控配置
监控端口配置,templates 模版hostgroups 配置host [root@bi-11 ~]# cat /etc/supervisord.d/openfalcon.ini [program:open-falcon-agent]command=/home/work/open-falcon/agent/bin/falcon-agent -c /home/work/open-falcon/ag...原创 2018-06-20 11:41:59 · 4371 阅读 · 0 评论 -
Prometheus从入门到跑路
1.prometheus框架结构2.prometheus组件介绍2.1.Prometheus Server这是Prometheus的服务端,也就是核心。Prometheus本身是一个以进程方式启动,之后以多进程和多线程实现监控数据收集、计算、查询、更新、存储的这样一个C/S模型运行模式。2.2.prometheus存储prometheus采用的是time-series...转载 2019-08-11 22:30:25 · 2650 阅读 · 0 评论 -
jira+confluence+openldap+ssp整合配置
网上查查了很多openldap教程,都比较旧的,我这更新一版。搭建的文档网上很多,搭建可以参考,配置的时候,遇到问题比较耗时的是,jira和openldap的用户信息同步,主要ldap的配置比较灵活,随意性大,如果和jira中的配置不匹配,无法自动过滤到ldap中的key,是无法匹配到用户信息的。jira和wiki类似,其中一个配置通了,另外一个也按照一样配置。完成之后jira和wiki之间建立应用程序链接,即可互通。##系统版本:- confluence版本:6.4.2- jira 版本:原创 2021-08-19 21:08:38 · 698 阅读 · 0 评论 -
Zabbix 监控MySQL
zabbix自带了一个监控mysql的模板,但是真正监控mysql的并不是zabbix自带的模板。而是percona公司的一个监控mysql模板原创 2021-06-20 15:33:58 · 100 阅读 · 0 评论 -
prometheus+grafana 监控hadoop、yarn
主要是以jmx_exporter、prometheus为主导进行对hadoop的metrics进行收集,通过grafana进行展示、预警。1、安装jmx_exporter以及配置文件1、通过https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.3.1/jmx_prometheus_javaage...转载 2019-01-29 09:15:03 · 4663 阅读 · 0 评论 -
使用Prometheus+Alertmanager告警JVM异常情况
摘要用到的工具:Docker,本文大量使用了Docker来启动各个应用。Prometheus,负责抓取/存储指标信息,并提供查询功能,本文重点使用它的告警功能。Grafana,负责数据可视化(本文重点不在于此,只是为了让读者能够直观地看到异常指标)。Alertmanager,负责将告警通知给相关人员。JMX exporter,提供JMX中和JVM相关的metrics。Tomcat,...转载 2019-02-14 22:16:31 · 2156 阅读 · 0 评论 -
Prometheus自定义监控部署
参考官方文档:https://prometheus.io/docs/ Prometheus是一个开源的服务监控系统,它通过HTTP协议从远程的机器收集数据并存储在本地的时序数据库上。 Prometheus通过安装在远程机器上的exporter插件来收集监控数据,这里要用到的是node_exporter,nginx-module-vts模块,nginx-vts-exporter组件:...转载 2019-01-29 19:26:54 · 7627 阅读 · 0 评论 -
Prometheus时序数据库
Prometheus时序数据库 一、Prometheus1、Prometheus安装1)源码安装prometheus安装包最新版本下载地址:https://prometheus.io/download/wget https://github.com/prometheus/prometheus/releases/download/v2.3.2/prometheus-2....转载 2019-01-30 21:39:25 · 16048 阅读 · 0 评论 -
基于Prometheus的Pushgateway实战
一、Pushgateway 简介Pushgateway是 Prometheus 生态中一个重要工具,使用它的原因主要是:Prometheus 采用 pull 模式,可能由于不在一个子网或者防火墙原因,导致 Prometheus 无法直接拉取各个 target 数据。 在监控业务数据的时候,需要将不同数据汇总, 由 Prometheus 统一收集。由于以上原因,不得不使用 pushga...转载 2019-03-03 20:09:10 · 6532 阅读 · 0 评论 -
grafana 展示open-faclon数据
安装grafana-cli plugins list-remotegrafana-cli plugins install alexanderzobnin-zabbix-app (安装zabbix)grafana-cli plugins install fastweb-openfalcon-datasource(安装openfalcon)配置open-faclon api...原创 2018-03-26 13:19:06 · 1009 阅读 · 0 评论 -
时序数据库InfluxDB
一、什么是InfluxDB?InfluxDB是一款用Go语言编写的开源分布式时序、事件和指标数据库,无需外部依赖。该数据库现在主要用于存储涉及大量的时间戳数据,如DevOps监控数据,APP metrics, loT传感器数据和实时分析数据。InfluxDB特征:– 无结构(无模式):可以是任意数量的列(tags)。– 可以设置metric的保存时间。– 支持与时间有关的相关函...转载 2018-03-25 22:53:05 · 2807 阅读 · 0 评论 -
prometheus,alertmanager 报警配置详解
vimprometheus.ymlglobal: scrape_interval: 15s external_labels: monitor: 'codelab-monitor'scrape_configs: - job_name: test static_configs: - targets: ['10.13.82.244:8000'...转载 2019-04-10 09:32:04 · 3016 阅读 · 0 评论 -
open-falcon agent plugin的使用
agent中的plugin是一种辅助的采集数据的方式。 在plugin的脚本中向stdout打印metric信息,agent会自动收集并上报给transfer。下面介绍其使用方式。1. 配置agent, 使能plugin编辑agent/config/cfg.json设置”enabled”为true,配置dir,git 等。其中,dir 是相对于open-falco...原创 2018-04-08 10:50:32 · 715 阅读 · 0 评论