From e6e2666e94522740e351586e28eecc6402dc58ca Mon Sep 17 00:00:00 2001
From: Dennis Ahrens <dennis.ahrens@hs-hannover.de>
Date: Mon, 17 Aug 2020 12:55:04 +0200
Subject: [PATCH] better output text

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

diff --git a/checkmk/custom-files/local/remaining_library_ids b/checkmk/custom-files/local/remaining_library_ids
index 220a2ad..dbf9955 100644
--- a/checkmk/custom-files/local/remaining_library_ids
+++ b/checkmk/custom-files/local/remaining_library_ids
@@ -2,4 +2,4 @@
 
 REMAINING=$(sudo -u postgres -- psql -qtAX -d hshinfo -c "select (maximum_value::bigint - (SELECT last_value FROM hshinfo.seq_raw_library_id)) from information_schema.sequences where sequence_schema = 'hshinfo' and sequence_name = 'seq_raw_library_id';")
 
-echo "P watch_lib_ids remaining_library_ids=$REMAINING;400:;200: That many library IDs are available."
+echo "P watch_lib_ids remaining_library_ids=$REMAINING;400:;200: hshinfo.seq_raw_library_ids"
-- 
GitLab