diff --git a/checkmk/custom-files/local/remaining_library_ids b/checkmk/custom-files/local/remaining_library_ids
index 0376a00b662b85cb7506c49537bf8ffff2d2968e..220a2ad8277bc1e79a5504bfd87ac3e244d48073 100644
--- a/checkmk/custom-files/local/remaining_library_ids
+++ b/checkmk/custom-files/local/remaining_library_ids
@@ -1,5 +1,5 @@
 #!/bin/bash
 
-REMAINNG = $(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';")
+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 remaining_library_ids=$REMAINING;400:;200: That many library IDs are available."
\ No newline at end of file
+echo "P watch_lib_ids remaining_library_ids=$REMAINING;400:;200: That many library IDs are available."