I use Zabbix for certain aspects of config validation, and as such I need to ensure that monitored system names are kept in sync between multiple platforms.
I'd like to create a trigger that compares SNMP sysName with a monitored host's HOST.NAME or HOST.DNS, but as far as I can tell, I can't use {HOST.NAME} in a trigger expression. The expression doesn't bomb out, but HOST.NAME doesn't seem to expand.
Is there a better way to accomplish making sure SNMP sysName matches Zabbix Host Name? I've got a pretty complicated discovery setup, so I'm not in a position to change how Host name is set during discovery.
I've tried: ( last(/mySNMPMonitoredSwitch/system.sysName)<>"{HOST.NAME}.fqdn.suffix" ) which does not work.
I'd like to create a trigger that compares SNMP sysName with a monitored host's HOST.NAME or HOST.DNS, but as far as I can tell, I can't use {HOST.NAME} in a trigger expression. The expression doesn't bomb out, but HOST.NAME doesn't seem to expand.
Is there a better way to accomplish making sure SNMP sysName matches Zabbix Host Name? I've got a pretty complicated discovery setup, so I'm not in a position to change how Host name is set during discovery.
I've tried: ( last(/mySNMPMonitoredSwitch/system.sysName)<>"{HOST.NAME}.fqdn.suffix" ) which does not work.