zabbix监控kafka_Zabbix的Kafka监控

本文介绍了如何使用Zabbix来监控Kafka系统,确保其稳定运行。内容来源于一篇翻译自Devoops and Universe的文章,提供了关于配置Zabbix监控Kafka的详细步骤。
摘要由CSDN通过智能技术生成

zabbix监控kafka

介绍 (Introduction)

Apache Kafka is modern, powerful and fancy service provides storing and managing messages for real-time data processing.

Apache Kafka是一种现代,功能强大且新颖的服务,可提供存储和管理消息以进行实时数据处理。

Unfortunately, Apache Kafka has no monitoring tools by default but sometimes when Kafka has issues we should define and fix issues asap to prevent interruptions, loosing data and make sure that our services work properly.

不幸的是,Apache Kafka默认情况下没有监视工具,但是有时在Kafka出现问题时,我们应该尽快定义和修复问题,以防止中断,丢失数据并确保我们的服务正常运行。

Topic explains the easiest way how to monitoring Kafka using official Zabbix open-source monitoring system plugin that includes collecting JMX metric, alerting and monitoring consumers as well.

主题介绍了如何使用官方的Zabbix开源监视系统插件监视Kafka的最简单方法,该插件包括收集JMX指标,警告和监视使用者。

卡夫卡概述 (Kafka overview)

Publish-subscribe durable messaging system

发布-订阅持久消息系统

A messaging system sends messages between processes, applications, and servers. Apache Kafka is a software where topics can be defined (think of a topic as a category), applications can add, process and reprocess records.

消息传递系统在进程,应用程序和服务器之间发送消息。 Apache Kafka是一种软件,可以在其中定义主题(将主题视为类别),应用程序可以添加,处理和重新处理记录。

Applications connect to this system and transfer a record onto the topic. A record can include any kind of information; for example, information about an event that has happened on a website, or an event that is supposed to trigger an event. Another application may connect to the system and process or re-process records from a topic. The data sent is stored until a specified retention period has passed by.

应用程序连接到该系统并将记录转移到该主题上。 记录可以包含任何种类的信息; 例如,有关网站上发生的事件或应该触发事件的事件的信息。 另一个应用程序可以连接到系统并处理或重新处理主题中的记录。 发送的数据将被存储,直到经过了指定的保留期限。

Main parts in a Kafka system

Kafka系统的主要部件

Image for post

Broker: Handles all requests from clients (produce, consume, and metadata) and keeps data replicated within the cluster. There can be one or more brokers in a cluster.

代理:处理来自客户端的所有请求(生产,使用和元数据),并将数据复制到集群中。 集群中可以有一个或多个代理。

Zookeeper: Keeps the state of the cluster (brokers, topics, users).

Zookeeper:保持群集的状态(经纪人,主题,用户)。

Producer: Sends records to a broker.

生产者:将记录发送给经纪人。

Consumer: Consumes batches of records from the broker.

使用者:从经纪人那里消费一批记录。

Zabbix概述 (Zabbix overview)

Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual machines (VMs) and cloud services.

Zabbix是用于各种IT组件(包括网络,服务器,虚拟机(VM)和云服务)的开源监视软件工具。

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
一、prometheus简介 Prometheus是一个开源的系统监控和告警系统,现在已经加入到CNCF基金会,成为继k8s之后第二个在CNCF维护管理的项目,在kubernetes容器管理系统中,通常会搭配prometheus进行监控,prometheus支持多种exporter采集数据,还支持通过pushgateway进行数据上报,Prometheus再性能上可支撑上万台规模的集群。 二、prometheus架构图 三、prometheus组件介绍 1.Prometheus Server: 用于收集和存储时间序列数据。 2.Client Library: 客户端库,检测应用程序代码,当Prometheus抓取实例的HTTP端点时,客户端库会将所有跟踪的metrics指标的当前状态发送到prometheus server端。 3.Exporters: prometheus支持多种exporter,通过exporter可以采集metrics数据,然后发送到prometheus server端 4.Alertmanager: 从 Prometheus server 端接收到 alerts 后,会进行去重,分组,并路由到相应的接收方,发出报警,常见的接收方式有:电子邮件,微信,钉钉, slack等。 5.Grafana:监控仪表盘 6.pushgateway: 各个目标主机可上报数据到pushgatewy,然后prometheus server统一从pushgateway拉取数据。 四、课程亮点 五、效果图展示 六、讲师简介 先超(lucky):高级运维工程师、资深DevOps工程师,在互联网上市公司拥有多年一线运维经验,主导过亿级pv项目的架构设计和运维工作 主要研究方向: 1.云计算方向:容器 (kubernetes、docker),虚拟化(kvm、Vmware vSphere),微服务(istio),PaaS(openshift),IaaS(openstack)等2.系统/运维方向:linux系统下的常用组件(nginx,tomcat,elasticsearch,zookeeper,kafka等),DevOps(Jenkins+gitlab+sonarqube+nexus+k8s),CI/CD,监控zabbix、prometheus、falcon)等 七、课程大纲

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值