summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authornadir <nadir-technik@nadir.org>2010-12-12 23:12:53 +0100
committerGabriel Filion <lelutin@gmail.com>2012-04-09 21:09:30 -0400
commitfaf85fa479e63b50cc2a3a7e69db9c0d7eb6e9ca (patch)
tree2880fc289afec7d63c0892d549ec9cd444ed1da6 /README
parentf722765369b3900f57d845e5c9e2e170a560302c (diff)
Added NRPE Support for nagios::service
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 12 insertions, 2 deletions
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
=============