summaryrefslogtreecommitdiffstats
path: root/debian/check_nrpe.cfg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 11:05:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 11:05:43 +0000
commit134ec653ca1852cab19cf8731e9d65df6dcceabf (patch)
tree0af4a1ec9744a676567bba4b4b929483a705664a /debian/check_nrpe.cfg
parentAdding upstream version 4.0.3. (diff)
downloadnagios-nrpe-debian/4.0.3-1.tar.xz
nagios-nrpe-debian/4.0.3-1.zip
Adding debian version 4.0.3-1.debian/4.0.3-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/check_nrpe.cfg')
-rw-r--r--debian/check_nrpe.cfg11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/check_nrpe.cfg b/debian/check_nrpe.cfg
new file mode 100644
index 0000000..2b71c31
--- /dev/null
+++ b/debian/check_nrpe.cfg
@@ -0,0 +1,11 @@
+# this command runs a program $ARG1$ with no arguments and enables SSL support
+define command {
+ command_name check_nrpe
+ command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
+}
+
+# this command runs a program $ARG1$ with no arguments and disables SSL support
+define command {
+ command_name check_nrpe_nossl
+ command_line /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n
+}