summaryrefslogtreecommitdiff
path: root/manifests/command/nrpe_timeout.pp
diff options
context:
space:
mode:
authornadir <nadir-technik@nadir.org>2012-02-14 14:50:38 +0100
committerGabriel Filion <lelutin@gmail.com>2012-04-09 21:09:30 -0400
commit3ed7a58cc923d52c8664776b534b123d43f8fe5d (patch)
treeca13981628ce870d8310088bd2a6fed7d25b3ad0 /manifests/command/nrpe_timeout.pp
parent6f70941c33e1f621dae4722796314e94a4b23bb6 (diff)
add nrpe timeout parameter
amended (lelutin): took out some trailing whitespaces and a commented out (useless) line
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$'
+ }
+}