Skip to content

Monitoring Kafka JMX metrics with Zabbix and Grafana.

License

Notifications You must be signed in to change notification settings

takzok/kafka-zabbix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka-zabbix

Docker-compose file for Apache Kafka metrics monitoring verification using zabbix.

Containers

This docker-compose contains following containers.

Install

docker-compose up

Access to zabbix and grafana

Zabbix configuration

Add template for Kafka JMX

Go to Configuration > Templates > Import, and select kafka_jmx_templates.xml.

add-template

Add Hosts

Go to Configuration > Hosts > Create Host, and add JMX interfaces.

add-host-jmx

Then, Link template to this host. Go to templates, and add the template.

add-host-template

Grafana configuration

enable Zabbix plugin

Go to http://localhost:3000/plugins, and select Zabbix plugin.

Click Enable button.

add-host-template

Add data source

mySQL (Optional)

Direct DB connection allows plugin to access Zabbix database directly. This way usually faster than pulling data from zabbix API.

add mySQL as data source

  • Host: zabbix-db:3306
  • DB name: zabbix
  • user/pw: zabbix:zabbix

add-mysql

Zabbix

Add Zabbix for data source.

  • HTTP
  • Zabbix API details
    • Username: admin
    • password: zabbix
    • check trends on
  • Direct DB Connection
    • check Enable on
    • Data source: select mySQL name

add-zabbix

About

Monitoring Kafka JMX metrics with Zabbix and Grafana.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published