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

Side by Side Diff: modules/nagios/manifests/client.pp

Issue 12375002: Implement more detailed bandwidth monitoring (Closed)
Patch Set: Created Oct. 1, 2013, 5:30 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/nagios/files/check_bandwidth ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class nagios::client($server_address) { 1 class nagios::client($server_address) {
2 package {['nagios-nrpe-server', 'bwm-ng']: ensure => present} 2 package {['nagios-nrpe-server', 'tcpdump']: ensure => present}
3 3
4 file {'/etc/nagios/nrpe.cfg': 4 file {'/etc/nagios/nrpe.cfg':
5 mode => 644, 5 mode => 644,
6 owner => root, 6 owner => root,
7 group => root, 7 group => root,
8 content => template('nagios/nrpe.cfg.erb'), 8 content => template('nagios/nrpe.cfg.erb'),
9 require => Package['nagios-nrpe-server'], 9 require => Package['nagios-nrpe-server'],
10 notify => Service['nagios-nrpe-server'] 10 notify => Service['nagios-nrpe-server']
11 } 11 }
12 12
(...skipping 23 matching lines...) Expand all
36 36
37 file {'/usr/lib/nagios/plugins/check_memory': 37 file {'/usr/lib/nagios/plugins/check_memory':
38 ensure => present, 38 ensure => present,
39 mode => 755, 39 mode => 755,
40 owner => root, 40 owner => root,
41 group => root, 41 group => root,
42 source => 'puppet:///modules/nagios/check_memory', 42 source => 'puppet:///modules/nagios/check_memory',
43 require => Package['nagios-nrpe-server'] 43 require => Package['nagios-nrpe-server']
44 } 44 }
45 } 45 }
OLDNEW
« no previous file with comments | « modules/nagios/files/check_bandwidth ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld