-
Notifications
You must be signed in to change notification settings - Fork 33
/
example.yaml
93 lines (82 loc) · 2.13 KB
/
example.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Monitoring Server
check_mk::filestore: 'puppet:///files/check_mk'
check_mk::package: 'omd-0.56-rh60-29.x86_64.rpm'
#check_parameters = [
# ( (95, 99), ALL_HOSTS, [ "fs_/boot" ]),
# ( (3192, 3584), ALL_HOSTS, [ "JVM PODDSv3 Memory" ]),
# ( (150, 200), ALL_HOSTS, [ "JVM PODDSv3 Threads" ]),
# ( (4000, 6000), [ 'coherence' ], ALL_HOSTS, [ "Number of threads" ]),
#]
# Defaults:
# hosts: ALL_HOSTS
# tags: undef
check_mk::check_parameters:
'fs_/boot':
warning: '95'
critical: '99'
'JVM MyApp Memory':
warning: '3192'
critical: '3584'
'JVM MyApp Threads':
warning: '150'
critical: '200'
'Number of threads':
tags: [ 'coherence' ]
warning: '4000'
critical: '6000'
'fs_/':
hosts: [ 'myhost1.domain.com', 'myhost2.domain.com' ]
warning: '60'
critical: '70'
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'
#ignored_services = [
# ( [ "windows" ], ALL_HOSTS, [ "LOG Security" ] ),
# ( ALL_HOSTS, [ "NFS mount /home/" ] )
#]
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}'
check_mk::agent::jolokia::server: '127.0.0.1'
check_mk::agent::jolokia::port: '8080'
check_mk::agent::jolokia::user: 'monitoring'
check_mk::agent::jolokia::password: 'tinstaafl'
check_mk::agent::jolokia::suburi: 'jolokia'
check_mk::agent::jolokia::instances:
'My-App':
server: '10.0.0.1'
port: '8190'
check_mk::agent::logwatch::keep_defaults: 'true'
check_mk::agent::logwatch::logfiles:
'/apps/tomcat1/logs/tomcat/catalina.*.log':
critical:
- '^SERVERE:'
- '^ERROR:'
warning:
- '^WARNING:'
ignore:
- '^INFO'