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

AIX agent,sender cannot use SourceIP

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.7rc1, 2.1.0
    • 2.0.3, 2.0.5
    • Agent (G), Proxy (P), Server (S)
    • AIX 6.1
      uname-a
      AIX test1 1 6 00F61FA44C00

      Using SourceIP in agentd.conf or -I option in zabbix_sender on AIX doesn't work and produce error: bind() fail

      AGENT

      ifconfig -a
      en0: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
      inet 10.11.11.25 netmask 0xffffff00 broadcast 10.11.11.255
      inet 10.11.11.13 netmask 0xffffff00 broadcast 10.11.11.255
      tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0
      en1: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,LARGESEND,CHAIN>
      inet 10.11.11.205 netmask 0xffffff00 broadcast 10.11.11.255
      inet 10.11.11.103 netmask 0xffffff00 broadcast 10.11.11.255
      tcp_sendspace 131072 tcp_recvspace 65536 rfc1323 0

      Agentd.conf:
      SourceIP=10.11.11.13

      zabbix agentd.logfile:
      2977826:20130515:154218.385 Get active checks error: bind() failed: [68] Can't assign requested address
      2437292:20130515:154218.387 Get active checks error: bind() failed: [68] Can't assign requested address

      NOTE: For agent: Passive checks work, but active don't.

      SENDER

      ./zabbix_sender -z zabbix_server -s test1 -I 10.11.11.13 -k system.hostname -o test1 -vv
      zabbix_sender [692404]: DEBUG: send value error: bind() failed: [68] Can't assign requested address
      Sending failed. Use option -vv for more detailed output.

      ./zabbix_sender -z zabbix_server -s test1 -k system.hostname -o test1 -vv
      zabbix_sender [2973764]: DEBUG: answer [

      { "response":"success", "info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000060"}

      ]
      info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.000060"
      sent: 1; skipped: 0; total: 1

      Maybe it is the similar problem like this https://bugzilla.samba.org/show_bug.cgi?id=6970

            Unassigned Unassigned
            neogan Andrei Gushchin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: