summaryrefslogtreecommitdiffstats
path: root/debian/check_nrpe.cfg
diff options
context:
space:
mode:
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
+}