How can I insert host group name into alert message?
Q: How can I insert host group name into alert message?
A: We provide a number of template variables, listed in details on Main parameters tab online help page. We suggest using those variables to make generic text of alerts more informative, for either manual or automated further processing.
For example, to display host group name given host/monitor belongs to, insert $HostGroupName variable into corresponding place where that name should be visible.
Note that template variables can be used both in alerts and in monitors/hosts/monitor types properties. Note that there are alerts-only variables, that can only be used in alert templates.
We strongly recommend adjusting default alert template so that it could be easier to spot and process.