This patch provides dynamic substitutions for specific fields when pre-flight testing and building group instances. This is required when doing distributed monitoring and you need different values for the different instances of a host. For example, the parent of a host in the central system will likely be different than that for the remote system, especially for the master nagios host. This patch also provides a Substitutions menu in the Group Details panel which allows substitutions to be managed directly. See the included README file for more details.
Please note that this patch does not provide actual deployment code, as that is (still) very site specific.