Update example config.

Refs #5909
This commit is contained in:
Gunnar Beutner 2014-04-09 00:07:39 +02:00
parent dcf7d07c7a
commit 3df3930a92

View File

@ -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$"
} }
} }