From e13c1694f1ea147bce35916dfc72a672c4af02c7 Mon Sep 17 00:00:00 2001
From: Jan Philipp Timme <jan.philipp@timme.it>
Date: Tue, 15 Aug 2023 15:21:45 +0200
Subject: [PATCH] Reduce CRIT level for remaining library id alert from 500 to
 10.

---
 checkmk/custom-files/local/monitor_hshinfo | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checkmk/custom-files/local/monitor_hshinfo b/checkmk/custom-files/local/monitor_hshinfo
index 9ee17c4..32fbb87 100644
--- a/checkmk/custom-files/local/monitor_hshinfo
+++ b/checkmk/custom-files/local/monitor_hshinfo
@@ -4,5 +4,5 @@ REMAINING_LIBRARY_IDS=$(sudo -u postgres -- psql -qtAX -d hshinfo -c "select (ma
 
 REMAINING_LUH_IDS=$(sudo -u postgres -- psql -qtAX -d hshinfo -c "select count(*) from hshinfo.luh_id where is_assigned = false;")
 
-echo "P watch_lib_ids remaining_library_ids=$REMAINING_LIBRARY_IDS;2000:;500: hshinfo.seq_raw_library_ids"
+echo "P watch_lib_ids remaining_library_ids=$REMAINING_LIBRARY_IDS;2000:;10: hshinfo.seq_raw_library_ids"
 echo "P watch_luh_ids remaining_luh_ids=$REMAINING_LUH_IDS;2000:;500: hshinfo.usernames_luh with allocated = false"
-- 
GitLab