]> git.pld-linux.org Git - packages/nagios-nrpe.git/blobdiff - nrpe-command.cfg
- up to 3.2.1
[packages/nagios-nrpe.git] / nrpe-command.cfg
index 67c3eb545f614dfa8461f2aacf399b426e784567..b4af9587769d4cdf3036cdd721d6feef6fa633a3 100644 (file)
@@ -2,5 +2,18 @@
 
 define command {
     command_name    check_nrpe
-    command_line    /usr/lib64/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
+    command_line    @plugindir@/check_nrpe -H $HOSTADDRESS$ $ARG1$
+}
+
+define service {
+    use                     generic-service
+    name                    nrpe
+    register                0
+    service_description     nrpe
+
+    normal_check_interval   5
+    retry_check_interval    1
+    max_check_attempts      10
+
+    check_command           check_nrpe
 }
This page took 0.104404 seconds and 4 git commands to generate.