Extend alert description

Signed-off-by: Vitaly Zhuravlev <v-zhuravlev@users.noreply.github.com>
This commit is contained in:
Vitaly Zhuravlev 2023-04-05 23:47:10 +08:00
parent da32f8de17
commit e48e7909f4
1 changed files with 3 additions and 3 deletions

View File

@ -204,7 +204,7 @@
||| % $._config, ||| % $._config,
annotations: { annotations: {
summary: 'Node Exporter text file collector failed to scrape.', summary: 'Node Exporter text file collector failed to scrape.',
description: 'Node Exporter text file collector failed to scrape.', description: 'Node Exporter text file collector on {{ $labels.instance }} failed to scrape.',
}, },
labels: { labels: {
severity: 'warning', severity: 'warning',
@ -260,7 +260,7 @@
severity: 'critical', severity: 'critical',
}, },
annotations: { annotations: {
summary: 'RAID Array is degraded', summary: 'RAID Array is degraded.',
description: "RAID array '{{ $labels.device }}' at {{ $labels.instance }} 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 }}' at {{ $labels.instance }} is in degraded state due to one or more disks failures. Number of spare drives is insufficient to fix issue automatically.",
}, },
}, },
@ -273,7 +273,7 @@
severity: 'warning', severity: 'warning',
}, },
annotations: { annotations: {
summary: 'Failed device in RAID array', summary: 'Failed device in RAID array.',
description: "At least one device in RAID array at {{ $labels.instance }} failed. Array '{{ $labels.device }}' needs attention and possibly a disk swap.", description: "At least one device in RAID array at {{ $labels.instance }} failed. Array '{{ $labels.device }}' needs attention and possibly a disk swap.",
}, },
}, },