Skip to content

Commit 904e8d4

Browse files
authored
Merge pull request #352 from npawelek/master
Fix issue with filesystem template population
2 parents 19b38e8 + 00e70d1 commit 904e8d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

playbooks/templates/rax-maas/filesystem.yaml.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ alarms :
1515
criteria : |
1616
:set consecutiveCount={{ maas_alarm_local_consecutive_count }}
1717
if (percentage(metric['used'], metric['total']) >= {{ item.critical_threshold }}) {
18-
return new AlarmStatus(CRITICAL, "{{ item }} filesystem is >= {{ item.critical_threshold }}% full.");
18+
return new AlarmStatus(CRITICAL, "{{ item.filesystem }} filesystem is >= {{ item.critical_threshold }}% full.");
1919
}
2020
if (percentage(metric['used'], metric['total']) >= {{ item.warning_threshold }}) {
21-
return new AlarmStatus(WARNING, "{{ item }} filesystem is >= {{ item.warning_threshold }}% full.");
21+
return new AlarmStatus(WARNING, "{{ item.filesystem }} filesystem is >= {{ item.warning_threshold }}% full.");
2222
}

0 commit comments

Comments
 (0)