Puppet Class: monitoring::service::load

Defined in:
manifests/service/load.pp

Overview



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'manifests/service/load.pp', line 2

class monitoring::service::load {

  monitoring::service { "load":
    service_description => 'LOAD',
    servicegroups => 'system,important_sms',
    check_command => 'check_nrpe!check_load',
    contact_groups => 'admins,linux_admins',
    sms_contact_groups => 'admins,linux_admins,linux_admin_sms',
  }
  monitoring::servicedependency { "load":
    dependent_service_description => 'LOAD',
    service_description => 'NRPE',
  }
  nrpe::plugin { 'load':
    plugin => 'main',
    check_command => 'check_load',
    command_args => '-w 15,10,5 -c 30,25,20',
  }
}