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

Zabbix_sender does not send traps if Hostname is not defined in zabbix_agentd.conf

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0.6
    • Agent (G)
    • None
    • CentOS 6.4 64bits, running agentd/frontend 2.0.6, proxy/server 2.0.4

      When using zabbix_sender -c /your/zabbix_agentd.conf, it is needed to declare explicitly Hostname=your-hostname.

      It does not behave like the agentd bin that queries the OS for hostname.

      If i declare Hostname=my-hostname, it works ok, as below:

      [root@my-hostname ~]# zabbix_sender -c /etc/zabbix_agentd.conf -k log_nagios_restart -T -o 15
      info from server: "Processed 1 Failed 0 Total 1 Seconds spent 0.000055"
      sent: 1; skipped: 0; total: 1
      [root@my-hostname ~]#

            Unassigned Unassigned
            fpaternot Filipe Paternot
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: