From 3ed7a58cc923d52c8664776b534b123d43f8fe5d Mon Sep 17 00:00:00 2001 From: nadir Date: Tue, 14 Feb 2012 14:50:38 +0100 Subject: add nrpe timeout parameter amended (lelutin): took out some trailing whitespaces and a commented out (useless) line --- manifests/command/nrpe_timeout.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/command/nrpe_timeout.pp (limited to 'manifests/command/nrpe_timeout.pp') 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$' + } +} -- cgit v1.2.3