Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/nagios/manifests/client.pp

Issue 11773028: Added connections and memory monitoring (Closed)
Patch Set: Created Sept. 20, 2013, 10:25 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/nagios/manifests/client.pp
===================================================================
--- a/modules/nagios/manifests/client.pp
+++ b/modules/nagios/manifests/client.pp
@@ -19,9 +19,27 @@ class nagios::client($server_address) {
file {'/usr/lib/nagios/plugins/check_bandwidth':
ensure => present,
mode => 755,
owner => root,
group => root,
source => 'puppet:///modules/nagios/check_bandwidth',
require => Package['nagios-nrpe-server']
}
+
+ file {'/usr/lib/nagios/plugins/check_connections':
+ ensure => present,
+ mode => 755,
+ owner => root,
+ group => root,
+ source => 'puppet:///modules/nagios/check_connections',
+ require => Package['nagios-nrpe-server']
+ }
+
+ file {'/usr/lib/nagios/plugins/check_memory':
+ ensure => present,
+ mode => 755,
+ owner => root,
+ group => root,
+ source => 'puppet:///modules/nagios/check_memory',
+ require => Package['nagios-nrpe-server']
+ }
}

Powered by Google App Engine
This is Rietveld