Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 2.47 KB

File metadata and controls

87 lines (60 loc) · 2.47 KB

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