From 35b15f01cf17166d5bf1c697231e9ec0976c93ec Mon Sep 17 00:00:00 2001 From: dbeltman <36163623+dbeltman@users.noreply.github.com> Date: Thu, 22 Feb 2024 23:58:19 +0100 Subject: [PATCH] [prometheus-smartctl-exporter] Fix typo in (prometheus)-rules.txt (#4284) * Fix typo in (prometheus)-rules.txt Signed-off-by: dbeltman <36163623+dbeltman@users.noreply.github.com> * Update Chart.yaml Signed-off-by: dbeltman <36163623+dbeltman@users.noreply.github.com> --------- Signed-off-by: dbeltman <36163623+dbeltman@users.noreply.github.com> --- charts/prometheus-smartctl-exporter/Chart.yaml | 2 +- charts/prometheus-smartctl-exporter/rules/rules.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/prometheus-smartctl-exporter/Chart.yaml b/charts/prometheus-smartctl-exporter/Chart.yaml index e1236b481dbf..7a13758d0263 100644 --- a/charts/prometheus-smartctl-exporter/Chart.yaml +++ b/charts/prometheus-smartctl-exporter/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.7.0 +version: 0.7.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/prometheus-smartctl-exporter/rules/rules.txt b/charts/prometheus-smartctl-exporter/rules/rules.txt index faf89055b2ed..ad249080fe0e 100644 --- a/charts/prometheus-smartctl-exporter/rules/rules.txt +++ b/charts/prometheus-smartctl-exporter/rules/rules.txt @@ -13,10 +13,10 @@ rules: for: 1m labels: severity: warning -- alert: SmartCTLDeviceAvailableSpareUnderThreadhold +- alert: SmartCTLDeviceAvailableSpareUnderThreshold expr: smartctl_device_available_spare_threshold > smartctl_device_available_spare annotations: - message: Device {{ $labels.device }} on instance {{ $labels.instance }} is under available spare threashold. + message: Device {{ $labels.device }} on instance {{ $labels.instance }} is under available spare threshold. for: 1m labels: severity: warning