summaryrefslogtreecommitdiff
path: root/example.yaml
blob: 8f97cfcc53cca52a1a40764b79376c409a48b71e (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
# 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'

# 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}'