summaryrefslogtreecommitdiff
path: root/example.yaml
blob: b37db91a15c46b405af00727963bc6fcb41cf27f (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
29
30
31
32
33
34
35
36
37
38
39
# Monitoring Server
check_mk::filestore: 'puppet:///files/check_mk'
check_mk::package:   'omd-0.56-rh60-29.x86_64.rpm'

check_mk::host_groups:
  'Puppet_Masters':
    host_tags:
      - 'puppet-master'

  'My_App':
    description: 'My Application'
    host_tags:
      - 'my-app'

  'My_DB':
    description: 'My Database'
    host_tags:
      - 'my-db'

check_mk::ignored_services:
  'LOG security':
    tags:
      'windows'
  'NFS mount /home/':
    hosts:
      - 'lnxuser1.domain.com'
      - 'lnxuser2.domain.com'

# Monitoring Agent
check_mk::agent::filestore: 'puppet:///files/check_mk'
check_mk::agent::version: '1.2.0p3-1'

# Set host tags based on built-in and custom facts
check_mk::agent::host_tags:
  - '%{envtype}'
  - '%{kernel}'
  - '%{role}'
  - '%{location}'