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

Unified Diff: manifests/monitoringserver.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
« no previous file with comments | « no previous file | modules/nagios/files/check_connections » ('j') | modules/nagios/files/check_memory » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: manifests/monitoringserver.pp
===================================================================
--- a/manifests/monitoringserver.pp
+++ b/manifests/monitoringserver.pp
@@ -140,9 +140,23 @@ node 'server4' {
nagios_service {'bandwidth':
use => 'generic-service',
hostgroup_name => 'all',
service_description => 'Bandwidth',
check_command => 'check_nrpe_1arg!check_bandwidth',
first_notification_delay => '15'
}
+
+ nagios_service {'connections':
+ use => 'generic-service',
+ hostgroup_name => 'all',
+ service_description => 'Connections',
+ check_command => 'check_nrpe_1arg!check_connections',
+ }
+
+ nagios_service {'memory':
+ use => 'generic-service',
+ hostgroup_name => 'all',
+ service_description => 'Memory',
+ check_command => 'check_nrpe_1arg!check_memory',
+ }
}
« no previous file with comments | « no previous file | modules/nagios/files/check_connections » ('j') | modules/nagios/files/check_memory » ('J')

Powered by Google App Engine
This is Rietveld