From dc799612088b899b649dad9b1a5f4263715aec69 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Wed, 6 Sep 2023 10:54:57 +0200
Subject: [PATCH] update check_http

---
 check_http | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/check_http b/check_http
index ba2ce27..e035bf6 100755
--- a/check_http
+++ b/check_http
@@ -7,7 +7,7 @@
 # The response header and 
 #
 # -------------------------------------------------------------------------------
-# 2023-09-06  v0.1  <axel.hahn@unibe.ch>
+# 2023-09-06  v1.0  <axel.hahn@unibe.ch>
 # ================================================================================
 
 . $( dirname $0 )/inc_pluginfunctions
@@ -81,6 +81,9 @@ EXAMPLES:
                    Check if the GET request to url responds with 200..3xx 
                    status and the response body NOT contains "error occured".
 
+  $_self -u [URL] -s 200 -b -b "contact" -n "error occured"
+                   Combine code, a matching search and a non matching one.
+
 EOF
 }
 
-- 
GitLab