-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathservices-netapp.conf
58 lines (38 loc) · 1.11 KB
/
services-netapp.conf
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
apply Service "cluster links" {
import "generic-service"
check_command = "cdot-clusterlinks"
enable_perfdata = false
assign where host.vars.os == "NetApp"
}
apply Service for (mode in host.vars.cdot_plugins) {
import "generic-service"
check_command = "cdot-global"
enable_perfdata = false
vars.cdot_global_plugin = mode
}
apply Service for (vol => config in host.vars.cdot_snapshots) {
import "generic-service"
check_command = "cdot-snapshots"
enable_perfdata = false
vars += config
ignore where typeof(config) != Dictionary
}
apply Service for (vol => config in host.vars.cdot_volumes) {
import "generic-service"
check_command = "cdot-volume"
vars += config
ignore where typeof(config) != Dictionary
}
apply Service for (mirror => config in host.vars.cdot_snapmirrors) {
import "generic-service"
check_command = "cdot-snapmirror"
enable_perfdata = false
vars += config
ignore where typeof(config) != Dictionary
}
apply Service "disk status" {
import "generic-service"
check_command = "cdot-disk"
enable_perfdata = false
assign where host.vars.os == "NetApp"
}