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 [
]
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