Docker-compose file for Apache Kafka metrics monitoring verification using zabbix.
This docker-compose contains following containers.
- Apache Kafka
- Zookeeper
- zabbix
- database
- grafana
docker-compose up
-
zabbix
- Default userID and password is
admin/zabbix
.
- Default userID and password is
-
grafana
- Default userID and password is
admin/admin
.
- Default userID and password is
Go to Configuration
> Templates
> Import
, and select kafka_jmx_templates.xml
.
Go to Configuration
> Hosts
> Create Host
, and add JMX interfaces.
Then, Link template to this host.
Go to templates
, and add the template.
Go to http://localhost:3000/plugins, and select Zabbix plugin.
Click Enable
button.
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 Zabbix for data source.
- HTTP
- Host: http://zabbix-web/api_jsonrpc.php
- Access: Server
- Zabbix API details
- Username: admin
- password: zabbix
- check
trends
on
- Direct DB Connection
- check
Enable
on - Data source: select mySQL name
- check