cat /var/lib/icinga2/api/packages/director/77000221-843d-45dd-a8c6-2cbedc5a9b0b/zones.d/TL01-Nagios01/notification_apply.conf
apply Notification “Windows Server xx Host Notification” to Host {
import “notification_template_host”
interval = 0s
period = "24x7_always"
assign where match("*", host.name)
states = [ Down, Up ]
types = [ Acknowledgement, Custom, Problem, Recovery ]
users = [ "XXX", "THIS IS THE DELETET USER" ]
}
apply Notification “Windows Server xx Service Notification” to Service {
import “notification_template_service”
interval = 0s
period = "24x7_always"
assign where match("*", service.name)
states = [ Critical, OK, Warning ]
types = [ Acknowledgement, Custom, Problem, Recovery ]
users = [ "THIS IS THE DELETET USER" ]
}
/* — This object has been disabled —
apply Notification “Server Backnang Service Notification” to Service {
import “notification_template_service”
interval = 0s
period = "24x7_always"
assign where match("*", service.name)
states = [ Critical, OK, Unknown, Warning ]
types = [ Custom, Problem, Recovery ]
users = [ "THIS IS THE DELETET USER" ]
}
/
/ — This object has been disabled —
apply Notification “Server Backnang Host Notification” to Host {
import “notification_template_host”
interval = 0s
period = "24x7_always"
assign where match("*", host.name)
states = [ Down, Up ]
types = [ Acknowledgement, Custom, Problem, Recovery ]
users = [ "THIS IS THE DELETET USER" ]
}
*/
apply Notification “TCDA eigene Prozesse” to Service {
import “notification_template_service”
interval = 0s
period = "24x7_always"
assign where service.name == "check_mysql_query_hpesm_incidents"
states = [ Critical, OK, Warning ]
types = [
Acknowledgement,
Custom,
DowntimeStart,
Problem,
Recovery
]
users = [ "XXX" ]
}
apply Notification “Windows Server Service Notification UNKNOWN” to Service {
import “notification_template_service”
times = {
begin = 1h
}
interval = 0s
period = "10x5_businesstime"
assign where match("*", service.name)
states = [ OK, Unknown ]
types = [ Acknowledgement, Custom, Problem, Recovery ]
users = [ "THIS IS THE DELETET USER" ]
}
apply Notification “TCDA XXX Benachrichtigungen” to Service {
import “notification_template_service”
interval = 0s
period = "24x7_always"
assign where match("XXX*", service.name)
states = [ Critical, OK, Warning ]
types = [ Custom, DowntimeEnd, DowntimeStart, Problem, Recovery ]
users = [ "XXX", "XXX", "XXX" ]
}
apply Notification “T.XXX Benachrichtigungen-Dienste” to Service {
import “notification_template_service”
interval = 0s
period = "24x7_always"
x
states = [ Critical, OK, Warning ]
types = [ Custom, DowntimeEnd, DowntimeStart, Problem, Recovery ]
users = [ "XXX", "XXX" ]
}
apply Notification “T.XXX Benachrichtigungen-HOSTS” to Host {
import “notification_template_service”
interval = 0s
period = "24x7_always"
xxxxxx
states = [ Down, Up ]
users = [ "XXX", "XXX" ]
}
/* — This object has been disabled —
apply Notification “R.XXX Benachrichtigungen-Dienste” to Service {
import “notification_template_service”
interval = 0s
period = "10x5_businesstime"
xxxx
states = [ Critical, OK, Warning ]
types = [ Custom, DowntimeEnd, DowntimeStart, Problem, Recovery ]
users = [ "XXX" ]
}
*/
apply Notification “R.XXX Benachrichtigungen-HOSTS” to Host {
import “notification_template_service”
interval = 0s
period = "10x5_businesstime"
xxxx
states = [ Down, Up ]
users = [ "XXX" ]
}
apply Notification “akcp Sicherheitsgruppe Host” to Host {
import “notification_template_host”
period = "24x7_always"
assign where match("akcp*", host.name)
states = [ Down, Up ]
types = [ DowntimeEnd, DowntimeStart ]
user_groups = [ "akcp" ]
}
apply Notification “akcp Sicherheitsgruppe Service” to Service {
import “notification_template_host”
period = "24x7_always"
assign where match("akcp*", host.name)
states = [ Critical, OK, Unknown, Warning ]
types = [
Acknowledgement,
Custom,
DowntimeEnd,
DowntimeRemoved,
DowntimeStart,
Problem,
Recovery
]
user_groups = [ "akcp" ]
}
apply Notification “R.XXX Benachrichtigungen-Dienste” to Service {
import “notification_template_service”
interval = 0s
period = "24x7_always"
xxx
states = [ Critical, OK, Warning ]
types = [ Custom, DowntimeEnd, DowntimeStart, Problem, Recovery ]
users = [ "XXX", "XXX" ]
}
apply Notification “XXX” to Service {
import “notification_template_service”
period = "24x7_always"
assign where "XXX" in host.groups
user_groups = [ "XXX" ]
}
apply Notification “XXX” to Service {
import “notification_template_service”
period = "24x7_always"
assign where "XXX" in host.groups
user_groups = [ "XXX" ]
}
apply Notification “XXX” to Service {
import “notification_template_service”
period = "24x7_always"
assign where "XXX" in host.groups
user_groups = [ "XXX" ]
}