So as the subject says, i have not been able to push out configs from ossec server to the remote hosts.
After making changes to /var/ossec/etc/shared/agent.conf
root@exec02:/var/ossec/bin# service ossec restart
Killing ossec-monitord ..
Killing ossec-logcollector ..
Killing ossec-syscheckd ..
Killing ossec-analysisd ..
Killing ossec-maild ..
Killing ossec-execd ..
Killing ossec-csyslogd ..
OSSEC HIDS v2.6 Stopped
Starting OSSEC HIDS v2.6 (by Trend Micro Inc.)...
ossec-analysisd: Configuration error. Exiting.
Started ossec-csyslogd...
Started ossec-maild...
Started ossec-execd...
Started ossec-analysisd...
Started ossec-logcollector...
Started ossec-syscheckd...
Started ossec-monitord...
Completed.
root@exec02:/var/ossec/bin#
root@exec02:/var/ossec/bin# md5sum /var/ossec/etc/shared/agent.conf
91441e8cc7d4074efe667ff87d8ca689 /var/ossec/etc/shared/agent.conf
root@exec02:/var/ossec/bin#
root@exec02:/var/ossec/bin#
root@exec02:/var/ossec/bin#
root@exec02:/var/ossec/bin#
root@exec02:/var/ossec/bin# ./agent_control -i 37
OSSEC HIDS agent_control. Agent information:
Agent ID: 37
IP address: 10.0.6.20
Status: Active
Operating system: Linux vault2 2.6.32-24-server #43-Ubuntu SMP Thu Sep..
Client version: OSSEC HIDS v2.7.1 / 5e9e0c5a4c519883434627cfdb8f059b
Last keep alive: Tue Mar 4 15:56:38 2014
Syscheck last started at: Tue Mar 4 15:57:43 2014
Rootcheck last started at: Tue Mar 4 13:55:32 2014
root@exec02:/var/ossec/bin# ./agent_control -R 37
OSSEC HIDS agent_control: Restarting agent: 37
root@exec02:/var/ossec/bin#
root@exec02:/var/ossec/bin#
root@exec02:/var/ossec/bin#
root@exec02:/var/ossec/bin#
root@exec02:/var/ossec/bin# ./agent_control -i 37
OSSEC HIDS agent_control. Agent information:
Agent ID: 37
IP address: 10.0.6.20
Status: Active
Operating system: Linux vault2 2.6.32-24-server #43-Ubuntu SMP Thu Sep..
Client version: OSSEC HIDS v2.7.1 / 5e9e0c5a4c519883434627cfdb8f059b
Last keep alive: Tue Mar 4 15:58:27 2014
Syscheck last started at: Tue Mar 4 15:57:43 2014
Rootcheck last started at: Tue Mar 4 13:55:32 2014
root@exec02:/var/ossec/bin# ./agent_control -i 37
OSSEC HIDS agent_control. Agent information:
Agent ID: 37
IP address: 10.0.6.20
Status: Active
Operating system: Linux vault2 2.6.32-24-server #43-Ubuntu SMP Thu Sep..
Client version: OSSEC HIDS v2.7.1 / 5e9e0c5a4c519883434627cfdb8f059b
Last keep alive: Tue Mar 4 15:58:27 2014
Syscheck last started at: Tue Mar 4 15:57:43 2014
Rootcheck last started at: Tue Mar 4 13:55:32 2014