From 542adc3ca7f5ed49baffdbf5df239344d366aa3a Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Sun, 8 Mar 2020 18:55:53 +0100 Subject: [PATCH] Adding minio rules --- _data/rules.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/_data/rules.yml b/_data/rules.yml index 346c085..2875634 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -812,10 +812,14 @@ services: - name: Minio exporters: - rules: - - name: Minio disk down - description: 'Minio Disk is down\n VALUE = {{ $value }}\n LABELS: {{ $labels }}' + - name: Minio disk offline + description: 'Minio disk is offline' query: "minio_offline_disks > 0" severity: error + - name: Minio storage space exhausted + description: 'Minio storage space is low (< 10 GB)' + query: "minio_disk_storage_free_bytes / 1024 / 1024 / 1024 < 10" + severity: warning - name: Juniper exporters: