]> granicus.if.org Git - icinga2/commitdiff
Documentation: Fix wrong contact/user macros in migration docs.
authorMichael Friedrich <michael.friedrich@netways.de>
Fri, 30 May 2014 09:27:18 +0000 (11:27 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Fri, 30 May 2014 09:29:56 +0000 (11:29 +0200)
Fixes #6362

doc/8-migration.md

index 72692d14e29e78cf4710844f8bc8b171c5817296..4d7d0a2aa1605ba79864a670b7cc7ac9730859f7 100644 (file)
@@ -299,11 +299,13 @@ Changes to user (contact) runtime macros
 
   Icinga 1.x             | Icinga 2
   -----------------------|----------------------
-  USERNAME               | user.name
-  USERDISPLAYNAME        | user.display_name
-  USEREMAIL              | email if set as `email` custom attribute.
-  USERPAGER              | pager if set as `pager` custom attribute.
+  CONTACTNAME            | user.name
+  CONTACTALIAS           | user.display_name
+  CONTACTEMAIL           | user.email
+  CONTACTPAGER           | user.pager
 
+`CONTACTADDRESS*` is not supported but can be accessed as `$user.vars.address1$`
+if set.
 
 Changes to service runtime macros