Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-11474

Multiple server name print in Cluster Trigger Name using {HOST.NAME} macro

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Minor Minor
    • None
    • 3.0.4
    • Documentation (D)
    • None
    • OS: CentOS -7
      VMWare Workstation 11
      Zabbix: 3.0.4

      Hi,

      I've configured a cluster trigger (It's a 2 node cluster system) like

      FTP Service on {HOST.NAME1} & {HOST.NAME2} is Down

      {new-zbx:net.tcp.service[ftp].last()}=0 and {new-sd:net.tcp.service[ftp].last()}=0
      

      and create an 'action operation' using macros like ** ipaddress="{IPADDRESS1}, {IPADDRESS2}" & eventhost="{HOST.NAME1}, {HOST.NAME2}" ** to populate both the nodes info in 'events' as well as on 'action'.

      But now for single node triggers 'UNKNOWN' is showing as hostname for one node in 'action' details. PFB for details

      host="new-sd UNKNOWN" trigger name="Zabbix agent on new-sd is unreachable for 5 minutes" triggerid="13581" severity="5" ipaddress="192.168.110.129"

      But in event it's populating properly. (shown above).

      Kindly suggest how to get hostname info (for multiple node cluster) avoiding this issue.

      Thanks

            Unassigned Unassigned
            saumyajit Saumyajit Pramanik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: