Ad Widget

Collapse

Referencing Zabbix Host name or dns in trigger

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • benhanson
    Junior Member
    • Feb 2012
    • 17

    #1

    Referencing Zabbix Host name or dns in trigger

    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.
    Last edited by benhanson; 13-11-2024, 00:03.
Working...