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

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.0.6
    • Fix Version/s: None
    • Component/s: Agent (G)
    • Labels:
      None
    • Environment:
      CentOS 6.4 64bits, running agentd/frontend 2.0.6, proxy/server 2.0.4

      Description

      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:

      [[email protected] ~]# 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
      [[email protected] ~]#

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: