We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19b38e8 + 00e70d1 commit 904e8d4Copy full SHA for 904e8d4
playbooks/templates/rax-maas/filesystem.yaml.j2
@@ -15,8 +15,8 @@ alarms :
15
criteria : |
16
:set consecutiveCount={{ maas_alarm_local_consecutive_count }}
17
if (percentage(metric['used'], metric['total']) >= {{ item.critical_threshold }}) {
18
- return new AlarmStatus(CRITICAL, "{{ item }} filesystem is >= {{ item.critical_threshold }}% full.");
+ return new AlarmStatus(CRITICAL, "{{ item.filesystem }} filesystem is >= {{ item.critical_threshold }}% full.");
19
}
20
if (percentage(metric['used'], metric['total']) >= {{ item.warning_threshold }}) {
21
- return new AlarmStatus(WARNING, "{{ item }} filesystem is >= {{ item.warning_threshold }}% full.");
+ return new AlarmStatus(WARNING, "{{ item.filesystem }} filesystem is >= {{ item.warning_threshold }}% full.");
22
0 commit comments