From 8fece8b085e62db0d507daf2272fe0b4c2832843 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Fri, 30 May 2014 11:27:18 +0200 Subject: [PATCH] Documentation: Fix wrong contact/user macros in migration docs. Fixes #6362 --- doc/8-migration.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/8-migration.md b/doc/8-migration.md index 72692d14e..4d7d0a2aa 100644 --- a/doc/8-migration.md +++ b/doc/8-migration.md @@ -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 -- 2.40.0