Am 22.03.2017 um 15:55 schrieb Rudy Gevaert:
it should read ${values.kernel}.Yes. Thanks it works.
Glad to hear that!
Do we have some docs online with gives some more examples?
Yes and no, they are slightly distributed. Import and Sync is documented in the Director itself with one specific example: https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/70-Import-and-Sync.md This should suffice to get people started. It's quite dated right now and doesn't mention many cool new features. Mostly because they didn't even exist at the time being. Import-related Fileshipper documentation should do a good job: https://github.com/Icinga/icingaweb2-module-fileshipper/blob/master/doc/03-ImportSource.md However it assumes that you know how to deal with Sync Rules and explains only the Fileshipper-related part, showing how to define Import Sources. The AWS modules documentation is nice, it also shows such nested data: https://github.com/Icinga/icingaweb2-module-aws/blob/master/doc/02-Usage.md However, it doesn't explicitly mention that feature. So without playing with that data source you wouldn't even realize that this is possible. As many people do not even read the available documentation, for the Director we tried to document as much as possible in-place. The field for the Sync "Source Expression" currently states: A custom string. Might contain source columns, please use placeholders of the form ${columnName} in such case. This is enough for LDAP and SQL, but not for sources providing structured data. Someone might currently correctly guess that ${columnName.sub.key} is the way to go - others wouldn't. Adding one more line with such an example to the field description should help a lot I guess. Could you please open a related issue on GitHub so that this will not be forgotten? And in case you want to dedicate some more time, pull requests are always welcome! Thanks, Thomas -- Thomas Gelf Principal Consultant NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 CEO: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 http://www.netways.de | [email protected] ** OSDC 2017 - Mai - osdc.de ** _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
