5 template Service "test-generic-service" {
11 template Host "test-generic-host" {
12 check_command = "hostalive"
15 template User "test-generic-user" {
19 template Notification "test-mail-host-notification" {
20 command = "mail-host-notification"
23 types = [ Problem, Acknowledgement, Recovery, Custom,
24 FlappingStart, FlappingEnd,
25 DowntimeStart, DowntimeEnd, DowntimeRemoved ]
29 user_groups = [ "test-icingaadmins" ]
33 * Provides default settings for service notifications.
34 * By convention all service notifications should import
37 template Notification "test-mail-service-notification" {
38 command = "mail-service-notification"
40 states = [ OK, Warning, Critical, Unknown ]
41 types = [ Problem, Acknowledgement, Recovery, Custom,
42 FlappingStart, FlappingEnd,
43 DowntimeStart, DowntimeEnd, DowntimeRemoved ]
47 user_groups = [ "test-icingaadmins" ]
53 object User "test-icingaadmin" {
54 import "test-generic-user"
56 display_name = "Test Icinga 2 Admin"
57 groups = [ "test-icingaadmins" ]
59 email = "icinga@localhost"
62 object UserGroup "test-icingaadmins" {
63 display_name = "Test Icinga 2 Admin Group"
67 object TimePeriod "test-24x7" {
68 display_name = "Test Icinga 2 24x7 TimePeriod"
71 "monday" = "00:00-24:00"
72 "tuesday" = "00:00-24:00"
73 "wednesday" = "00:00-24:00"
74 "thursday" = "00:00-24:00"
75 "friday" = "00:00-24:00"
76 "saturday" = "00:00-24:00"
77 "sunday" = "00:00-24:00"