From 5ead5d79c7b1a7e05208faf9c0f98ee22ebc0758 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Mon, 16 Mar 2026 03:09:57 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- _data/rules.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_data/rules.yml b/_data/rules.yml index b72cd20..8818e1b 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -444,9 +444,10 @@ groups: comments: | The metric uses inverted logic: 1=no fault, 0=fault detected. - name: IPMI SEL almost full - description: "IPMI System Event Log on {{ $labels.instance }} has only {{ $value }} bytes free. Clear the SEL to prevent loss of new events." + description: "IPMI System Event Log on {{ $labels.instance }} has only {{ printf \"%.0f\" $value }} bytes free. Clear the SEL to prevent loss of new events." query: 'ipmi_sel_free_space_bytes < 512' severity: warning + for: 5m comments: | SEL storage is typically very limited (e.g., 16KB). When full, new events may be dropped.