mirror of https://github.com/Icinga/icinga2.git
Update commands.conf
This commit is contained in:
parent
bdda58175b
commit
7f0aaf9b79
|
@ -43,6 +43,9 @@ object NotificationCommand "mail-host-notification" {
|
|||
required = true
|
||||
value = "$notification_hoststate$"
|
||||
}
|
||||
"-X" = {
|
||||
required = false
|
||||
value = "$notification_hostnotes$"
|
||||
"-t" = {
|
||||
required = true
|
||||
value = "$notification_type$"
|
||||
|
@ -62,6 +65,7 @@ object NotificationCommand "mail-host-notification" {
|
|||
notification_hostoutput = "$host.output$"
|
||||
notification_hoststate = "$host.state$"
|
||||
notification_useremail = "$user.email$"
|
||||
notification_hostnotes = $host.notes$"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -110,6 +114,14 @@ object NotificationCommand "mail-service-notification" {
|
|||
required = true
|
||||
value = "$notification_type$"
|
||||
}
|
||||
"-X" = {
|
||||
required = false
|
||||
value = "$notification_hostnotes$"
|
||||
}
|
||||
"-x" = {
|
||||
required = false
|
||||
value = "$notification_servicenotes$"
|
||||
}
|
||||
"-u" = {
|
||||
required = true
|
||||
value = "$notification_servicedisplayname$"
|
||||
|
@ -131,6 +143,8 @@ object NotificationCommand "mail-service-notification" {
|
|||
notification_servicestate = "$service.state$"
|
||||
notification_useremail = "$user.email$"
|
||||
notification_servicedisplayname = "$service.display_name$"
|
||||
notification_hostnotes = "$host.notes$"
|
||||
notification_servicenotes = "$service.notes$"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -160,6 +174,7 @@ object NotificationCommand "mail-host-notification" {
|
|||
NOTIFICATIONCOMMENT = "$notification.comment$"
|
||||
HOSTDISPLAYNAME = "$host.display_name$"
|
||||
USEREMAIL = "$user.email$"
|
||||
HOSTNOTES = "$host.notes$"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -180,6 +195,8 @@ object NotificationCommand "mail-service-notification" {
|
|||
HOSTDISPLAYNAME = "$host.display_name$"
|
||||
SERVICEDISPLAYNAME = "$service.display_name$"
|
||||
USEREMAIL = "$user.email$"
|
||||
HOSTNOTES = "$host.notes$"
|
||||
SERVICENOTES = "$service.notes$"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue