Documentation: Fix wrong contact/user macros in migration docs.

Fixes #6362
This commit is contained in:
Michael Friedrich 2014-05-30 11:27:18 +02:00
parent 7e46926c72
commit 8fece8b085
1 changed files with 6 additions and 4 deletions

View 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