From faf85fa479e63b50cc2a3a7e69db9c0d7eb6e9ca Mon Sep 17 00:00:00 2001 From: nadir Date: Sun, 12 Dec 2010 23:12:53 +0100 Subject: Added NRPE Support for nagios::service --- README | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 167b7aa..9c4e056 100644 --- a/README +++ b/README @@ -51,9 +51,9 @@ Services Services can be monitored by using the "nagios::service" component. -The simplest form is:: +The simplest form is: - nagios::service { 'check_http': + nagios::service { 'check_http': check_command => 'http_port!80', } @@ -65,6 +65,16 @@ Obviously, the check command must either be defined using nagios_command objects (some are supplied in nagios::defaults::commands) or in the nagios configuration files directly. +NRPE Services +------------- + +NRPE Services can be defines as i.e.: + + nagios::service { 'CPU Usage': use_nrpe => 'true', + check_command => "check_cpu", + nrpe_args => "-t 60" + } + Upgrade Notes ============= -- cgit v1.2.3