Re: [ossec-list] Can nto have centralized agent config working

2012-08-01 Thread dan (ddp)
On Tue, Jul 31, 2012 at 7:16 PM, Steve Kieu msh.comput...@gmail.com wrote: It could take a while for it to be pushed. I think if you run the processes in debug mode the transfer will be logged. Running in debug mode might be a good idea to see if it logs information on why the agent.conf

Re: [ossec-list] Can nto have centralized agent config working

2012-08-01 Thread dan (ddp)
On Wed, Aug 1, 2012 at 9:09 AM, dan (ddp) ddp...@gmail.com wrote: On Tue, Jul 31, 2012 at 7:16 PM, Steve Kieu msh.comput...@gmail.com wrote: It could take a while for it to be pushed. I think if you run the processes in debug mode the transfer will be logged. Running in debug mode might be a

RE: [ossec-list] Can nto have centralized agent config working

2012-08-01 Thread Swartz, Patrick H
: ossec-list@googlegroups.com [mailto:ossec-list@googlegroups.com] On Behalf Of dan (ddp) Sent: Wednesday, August 01, 2012 8:10 AM To: ossec-list@googlegroups.com Subject: Re: [ossec-list] Can nto have centralized agent config working On Tue, Jul 31, 2012 at 7:16 PM, Steve Kieu msh.comput

Re: [ossec-list] Can nto have centralized agent config working

2012-08-01 Thread Steve Kieu
Try blanking the merged.mg. Looks like it does the trick. I cp /dev/null into it and then restart both - after restarting the file is populated with datra again pushed from the server in that section for the client name. Need to wait or do some testing to see if it is actually using that

Re: [ossec-list] Can nto have centralized agent config working

2012-08-01 Thread Steve Kieu
Try blanking the merged.mg. Looks like it does the trick. I cp /dev/null into it and then restart both - after restarting the file is populated with datra again pushed from the server in that section for the client name. Need to wait or do some testing to see if it is actually using that

[ossec-list] Can nto have centralized agent config working

2012-07-31 Thread peace
Hello list, I have tried many things until I just give up and ask for help. Basically the centralized agent config not working. At agent I remove the etc/shared/agent.conf and etc/ossec.conf contains only ossec_config client server-ip10.200.11.140/server-ip /client /ossec_config And

Re: [ossec-list] Can nto have centralized agent config working

2012-07-31 Thread Steve Kieu
AGENT_NAME is replace by my actual ossec client name I tried to remove it it to be generic - replace name attr with os=Linux and client is LInux - still does not do anything On Tue, Jul 31, 2012 at 5:32 PM, bw bw.mail.li...@gmail.com wrote: agent_config name=AGENT_NAME do you need this

Re: [ossec-list] Can nto have centralized agent config working

2012-07-31 Thread dan (ddp)
On Tue, Jul 31, 2012 at 2:11 AM, peace msh.comput...@gmail.com wrote: Hello list, I have tried many things until I just give up and ask for help. Basically the centralized agent config not working. At agent I remove the etc/shared/agent.conf and etc/ossec.conf contains only ossec_config

Re: [ossec-list] Can nto have centralized agent config working

2012-07-31 Thread Steve Kieu
I did it and restart the server first and the client later. Should it be picked up right away ? I already checked permission. Not sure which process read the etc/shared/agent.conf though as some process is run by root, other run by ossec user (not remembered exactly the name as I am currently off

Re: [ossec-list] Can nto have centralized agent config working

2012-07-31 Thread dan (ddp)
On Tue, Jul 31, 2012 at 7:31 AM, Steve Kieu msh.comput...@gmail.com wrote: I did it and restart the server first and the client later. Should it be picked up right away ? It could take a while for it to be pushed. I think if you run the processes in debug mode the transfer will be logged.

Re: [ossec-list] Can nto have centralized agent config working

2012-07-31 Thread Steve Kieu
It could take a while for it to be pushed. I think if you run the processes in debug mode the transfer will be logged. Running in debug mode might be a good idea to see if it logs information on why the agent.conf isn't being pushed. I suppose that I change in the server and client as well

Re: [ossec-list] Can nto have centralized agent config working

2012-07-31 Thread Kat
If you restart the client, it will get pushed within a minute - assuming you had restarted the manager so it knows there was a change. I had this problem with a large install of 4000+ agents in the beginning, but in general, if the agent is restarted shortly after manager, the files were

Re: [ossec-list] Can nto have centralized agent config working

2012-07-31 Thread Steve Kieu
If you restart the client, it will get pushed within a minute - assuming you had restarted the manager so it knows there was a change. I had this problem with a large install of 4000+ agents in the beginning, but in general, if the agent is restarted shortly after manager, the files were