This "wrapper script" consists of two parts, "top" and "bottom", which
must be executed before and after the passive service check script and
implement the regular Nagios check script conventions.
--- /dev/null
+
+# BEGIN: wrapper-bottom.sh
+
+if [ -z "$TEXT" -o -z "$STATUS" ]; then
+ echo "Test script !"
+ exit 3
+fi
+
+echo "$TEXT"
+exit "$STATUS"
+
+# -eof-
--- /dev/null
+#!/bin/bash
+#
+# NagCollect -- Nagios Data Collector for Passive Checks
+# Copyright (c)2009-2011 Alexander Barton, alex@barton.de
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# Please read the file COPYING, README and AUTHORS for more information.
+#
+# Wrapper script for active service checks :-)
+#
+
+SERVICE=""; STATUS=""; TEXT=""
+
+# END: wrapper-top.sh
+