- Download the Zabbix template from here.
- Open the Zabbix dashboard in your web browser and navigate to
Configuration
=>Templates
. - Click on the
Import
button. - In the import page, choose the Zabbix template file you just downloaded.
- Click on the
Import
button again to finish importing the template.
This Template is made to be added to the individual MinIO Hosts.
- Setup the CLI tool
Minio Admin Client
like in the docs (https://min.io/docs/minio/linux/reference/minio-mc-admin.html) - The Access key will be the same for the whole cluster. So this will be needed once per cluster.
- Run the following command
mc admin config get [alias] prometheus
- Open The host in Zabbix
- Go To The tab
Macros
=>Inherited and host macros
- Fill out the following macro fields with the appropriate values:
{$MINIO.DNS.NAME}
(MinIO Nodename | For Node Specific metrics | based onnode{1...4}.example.net
){$MINIO.DNS.WILDCARD}
(Default: node* | Based on the upper ULR structure Too){$S3.DRIVES.PER.ERASURE.SET}
(Default: 16 ){$S3.MINIO.ACCESS.KEY}
(Prometheus Endpoint Key){$S3.MINIO.API.URL}
(The Prometheus endpoint Url . Can be the Load-balancer ){$S3.MINIO.MAX.DEAD.DRIVES}
(Note: Legacy not needed){$S3.MINIO.PARITY}
(Default: 4)