mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-28 08:04:14 +02:00
parent
dcf7d07c7a
commit
3df3930a92
@ -20,16 +20,16 @@ object NotificationCommand "mail-host-notification" {
|
|||||||
|
|
||||||
env = {
|
env = {
|
||||||
"NOTIFICATIONTYPE" = "$notification.type$"
|
"NOTIFICATIONTYPE" = "$notification.type$"
|
||||||
"HOSTALIAS" = "$host.displayname$",
|
"HOSTALIAS" = "$host.display_name$",
|
||||||
"HOSTADDRESS" = "$host.vars.address$",
|
"HOSTADDRESS" = "$address$",
|
||||||
"HOSTSTATE" = "$host.state$",
|
"HOSTSTATE" = "$host.state$",
|
||||||
"LONGDATETIME" = "$icinga.longdatetime$",
|
"LONGDATETIME" = "$icinga.long_date_time$",
|
||||||
"HOSTOUTPUT" = "$host.output$",
|
"HOSTOUTPUT" = "$host.output$",
|
||||||
"NOTIFICATIONAUTHORNAME" = "$notification.author$",
|
"NOTIFICATIONAUTHORNAME" = "$notification.author$",
|
||||||
"NOTIFICATIONCOMMENT" = "$notification.comment$",
|
"NOTIFICATIONCOMMENT" = "$notification.comment$",
|
||||||
"HOSTDISPLAYNAME" = "$host.displayname$",
|
"HOSTDISPLAYNAME" = "$host.display_name$",
|
||||||
"HOSTDISPLAYNAME" = "$host.displayname$",
|
"HOSTDISPLAYNAME" = "$host.display_name$",
|
||||||
"USEREMAIL" = "$user.vars.email$"
|
"USEREMAIL" = "$user.email$"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -51,17 +51,17 @@ object NotificationCommand "mail-service-notification" {
|
|||||||
|
|
||||||
env = {
|
env = {
|
||||||
"NOTIFICATIONTYPE" = "$notification.type$"
|
"NOTIFICATIONTYPE" = "$notification.type$"
|
||||||
"SERVICEDESC" = "$service.description$"
|
"SERVICEDESC" = "$service.name$"
|
||||||
"HOSTALIAS" = "$host.displayname$",
|
"HOSTALIAS" = "$host.display_name$",
|
||||||
"HOSTADDRESS" = "$host.vars.address$",
|
"HOSTADDRESS" = "$address$",
|
||||||
"SERVICESTATE" = "$service.state$",
|
"SERVICESTATE" = "$service.state$",
|
||||||
"LONGDATETIME" = "$icinga.longdatetime$",
|
"LONGDATETIME" = "$icinga.long_date_time$",
|
||||||
"SERVICEOUTPUT" = "$service.output$",
|
"SERVICEOUTPUT" = "$service.output$",
|
||||||
"NOTIFICATIONAUTHORNAME" = "$notification.author$",
|
"NOTIFICATIONAUTHORNAME" = "$notification.author$",
|
||||||
"NOTIFICATIONCOMMENT" = "$notification.comment$",
|
"NOTIFICATIONCOMMENT" = "$notification.comment$",
|
||||||
"HOSTDISPLAYNAME" = "$host.displayname$",
|
"HOSTDISPLAYNAME" = "$host.display_name$",
|
||||||
"SERVICEDISPLAYNAME" = "$service.displayname$",
|
"SERVICEDISPLAYNAME" = "$service.display_name$",
|
||||||
"USEREMAIL" = "$user.vars.email$"
|
"USEREMAIL" = "$user.email$"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user