From cde4e243ae32e69d4f84c4e48a03c86e12be8930 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Sat, 7 Mar 2020 17:59:42 +0100 Subject: [PATCH] no quotes no cry --- _data/rules.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_data/rules.yml b/_data/rules.yml index 5609c6f..8d325be 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -93,11 +93,11 @@ services: query: "node_hwmon_temp_alarm == 1" severity: critical - name: RAID array got inactive - description: 'RAID array "{{ $labels.device }}" is in degraded state due to one or more disks failures. Number of spare drives is insufficient to fix issue automatically.' + description: 'RAID array {{ $labels.device }} is in degraded state due to one or more disks failures. Number of spare drives is insufficient to fix issue automatically.' query: 'node_md_state{state="inactive"} > 0' severity: critical - name: RAID disk failure - description: 'At least one device in RAID array on {{ $labels.instance }} failed. Array "{{ $labels.md_device }}" needs attention and possibly a disk swap' + description: 'At least one device in RAID array on {{ $labels.instance }} failed. Array {{ $labels.md_device }} needs attention and possibly a disk swap' query: 'node_md_disks{state="fail"} > 0' severity: warning