aboutsummaryrefslogtreecommitdiff
path: root/personal_infra/puppet/site/ipsilon.h1.int.pdp7.net.pp
blob: 40c05bd8dc0ab32f935c3cf2d83d7bffca5d40a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
node 'ipsilon.h1.int.pdp7.net' {
  class {'ipsilon':
    session_timeout_minutes => 60*24*7,
  }

  service {'nagios':}
  package {'nagios':
    ensure => absent,
  }

  nagios_service {'idp.pdp7.net-internal-cert':
    use => 'generic-service',
    service_description => 'idp.pdp7.net-internal-cert',
    host_name => 'ipsilon.h1.int.pdp7.net',
    check_command => 'check_idp.pdp7.net-internal-cert',
    require => Package['nagios'],
    notify => Service['nagios'],
    owner => 'nagios',
  }

  nagios_command {'check_idp.pdp7.net-internal-cert':
    command_name => 'check_idp.pdp7.net-internal-cert',
    command_line => '/usr/lib64/nagios/plugins/check_http -H idp.pdp7.net -I ipsilon.h1.int.pdp7.net -C 10,5 -p 443',
    require => Package['nagios'],
    notify => Service['nagios'],
    owner => 'nagios',
  }
}