Commits
Alexander Vladishev authored 9871af2d099
........S. [ZBX-4976] improved {HOST.CONN}, {HOST.IP} and {HOST.DNS} macros substitution for global scripts
Before this change:
- macros are replaced with values from the host's main "Zabbix agent" interface
- macros are replaced with *UNKNOWN* if such interface isn't present
After this change:
- macros are replaced with values from the host's main interfaces in the order:
- "Zabbix agent" interface
- SNMP interface
- JMX interface
- IPMI interface
- macros are replaced with *UNKNOWN* if such interfaces aren't present