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

Zabbix-Sender and two active servers

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 3.2.1
    • None
    • None

      Hello guys,

      When you have more than one active servers:

      [root@megadrive1 ~]# grep ^ServerActive /etc/zabbix/zabbix_agentd.conf
      ServerActive=zabbix-1.datac.com,zabbix-2.datac.com
      

      The zabbix_sender always send only to the first available, never to the second.

      Also, the debug level should be more useful to debug this problems

      [root@megadrive1 ~]# /usr/bin/zabbix_sender --config /etc/zabbix/zabbix_agentd.conf --input-file /tmp/json  -vv
      zabbix_sender [11905]: DEBUG: answer [{"response":"success","info":"processed: 6; failed: 0; total: 6; seconds spent: 0.000115"}]
      info from server: "processed: 6; failed: 0; total: 6; seconds spent: 0.000115"
      sent: 6; skipped: 0; total: 6
      

      Thanks

            Unassigned Unassigned
            tiagocruz Tiago Cruz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: