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