I had to add another IP address to our server (eth0:1 192.168.0.100) and all of the sudden ossec client stopped working.
On the client side I'm seeing this: 2014/02/19 02:31:28 ossec-agentd: INFO: Trying to connect to server (server_ip:1514). 2014/02/19 02:31:28 ossec-agentd: INFO: Using IPv4 for: server_ip. 2014/02/19 02:31:49 ossec-agentd(4101): WARN: Waiting for server reply (not started). Tried: 'server_ip'.
How can this be fixed? Most likely I have to specify the source ip or source interface on the client side but I can't figure out where.