summaryrefslogtreecommitdiff
path: root/manifests/command/nrpe_timeout.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-02 19:54:17 +0100
committermh <mh@immerda.ch>2013-01-02 19:54:17 +0100
commit8b4e71729288d25e44d8433be27dc1a5d9fe63d9 (patch)
tree5460675cf9f10df08f298c777d1e37d8fbcfbb6f /manifests/command/nrpe_timeout.pp
parent4d2d0a813a718ad412fbd05da8588b8e90d0b9a3 (diff)
parent4d6b051acd53217860e1401946e45550e20c91a0 (diff)
Merge remote-tracking branch 'shared/master'
Conflicts: README manifests/service.pp
Diffstat (limited to 'manifests/command/nrpe_timeout.pp')
-rw-r--r--manifests/command/nrpe_timeout.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/command/nrpe_timeout.pp b/manifests/command/nrpe_timeout.pp
new file mode 100644
index 0000000..3415566
--- /dev/null
+++ b/manifests/command/nrpe_timeout.pp
@@ -0,0 +1,11 @@
+class nagios::command::nrpe_timeout {
+ nagios_command {
+ 'check_nrpe_timeout':
+ command_line => '/usr/lib/nagios/plugins/check_nrpe -t $ARG1$ -H $HOSTADDRESS$ -c $ARG2$ -a $ARG3$'
+ }
+
+ nagios_command {
+ 'check_nrpe_1arg_timeout':
+ command_line => '/usr/lib/nagios/plugins/check_nrpe -t $ARG1$ -H $HOSTADDRESS$ -c $ARG2$'
+ }
+}