Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

typo fixes

  • Loading branch information...
commit b9d6562930737db8f192384217bb97e9c3fcc735 1 parent 8e6827b
Henri Siponen authored
Showing with 23 additions and 23 deletions.
  1. +23 −23 puppet/modules/nagios3/manifests/init.pp
View
46 puppet/modules/nagios3/manifests/init.pp
@@ -63,9 +63,9 @@
package { 'nagios-nrpe-plugin': require => Package['nagios3'] }
service { 'nagios3':
- ensure => 'running',
- enable => true,
- require => Package['nagios3'],
+ ensure => 'running',
+ enable => true,
+ require => Package['nagios3'],
}
file { '/etc/nagios3/nagios.cfg':
@@ -84,7 +84,7 @@
file { '/etc/nagios3/objects':
ensure => directory,
- mode => 0755,
+ mode => 0755,
require => Package['nagios3'],
}
@@ -120,7 +120,7 @@
Nagios_hostgroup { require => Package['nagios3'], notify => Service['nagios3'], }
nagios_hostgroup { 'linuxhosts':
- target => '/etc/nagios3/objects/nagios_hostgroup.cfg',
+ target => '/etc/nagios3/objects/nagios_hostgroup.cfg',
}
nagios_hostgroup { 'winhosts':
@@ -135,32 +135,32 @@
}
nagios_service { 'check_load':
- hostgroup_name => 'linuxhosts',
- check_command => 'check_nrpe_1arg!check_load',
+ hostgroup_name => 'linuxhosts',
+ check_command => 'check_nrpe_1arg!check_load',
service_description => 'CPU Load',
}
nagios_service { 'check_users':
- hostgroup_name => 'linuxhosts',
- check_command => 'check_nrpe_1arg!check_users',
+ hostgroup_name => 'linuxhosts',
+ check_command => 'check_nrpe_1arg!check_users',
service_description => 'Current Users',
}
nagios_service { 'check_total_procs':
- hostgroup_name => 'linuxhosts',
- check_command => "check_nrpe_1arg!check_total_procs",
+ hostgroup_name => 'linuxhosts',
+ check_command => "check_nrpe_1arg!check_total_procs",
service_description => 'Total Processes',
}
nagios_service { 'check_hda1':
- hostgroup_name => 'linuxhosts',
- check_command => "check_nrpe_1arg!check_hda1",
+ hostgroup_name => 'linuxhosts',
+ check_command => "check_nrpe_1arg!check_hda1",
service_description => '/dev/hda1 Free Space',
}
nagios_service { 'check_zombie_procs':
- hostgroup_name => 'linuxhosts',
- check_command => "check_nrpe_1arg!check_zombie_procs",
+ hostgroup_name => 'linuxhosts',
+ check_command => "check_nrpe_1arg!check_zombie_procs",
service_description => 'Zombie Processes',
}
}
@@ -174,10 +174,10 @@
define linuxhost ($name,$address) {
nagios_host { $title:
- target => '/etc/nagios3/objects/linux_hosts.cfg',
- use => 'linux-box',
- alias => $name,
- address => $address,
+ target => '/etc/nagios3/objects/linux_hosts.cfg',
+ use => 'linux-box',
+ alias => $name,
+ address => $address,
require => Package['nagios3'],
notify => Service['nagios3'],
}
@@ -186,10 +186,10 @@
define winhost ($name,$address) {
nagios_host { $title:
- target => '/etc/nagios3/objects/windows_hosts.cfg',
- use => 'windows-server',
- alias => $name,
- address => $address,
+ target => '/etc/nagios3/objects/windows_hosts.cfg',
+ use => 'windows-server',
+ alias => $name,
+ address => $address,
require => Package['nagios3'],
notify => Service['nagios3'],
}
Please sign in to comment.
Something went wrong with that request. Please try again.