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

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Minor
    • None
    • Affects Version/s: 3.0.4
    • Component/s: Documentation (D)
    • None
    • Environment:
      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

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

              Created:
              Updated:
              Resolved: