The agent.conf on all systems will be updated with the latest version.

On Fri, Sep 17, 2010 at 3:19 PM, Jeremy Lee <[email protected]> wrote:
> BTW: if I specified-all agents to receive the agent.conf and later decide to
> narrow it down and just do a subset, will the agent.conf be *removed* from
> those agents outside of the subset(s) I specify? I'm guessing not.
>
> On Fri, Sep 17, 2010 at 11:50 AM, Bill Burns <[email protected]> wrote:
>>
>> I do something similar for reporting, this could be easily changed to
>> handle restarting:
>>
>> #!/bin/sh
>> cd /var/ossec/bin
>> for i in `./syscheck_control -l | grep "ID:" | awk '{print $2}' | sed
>> s/.$//`
>>
>>
>>  do ./syscheck_control -i $i
>>  done
>>
>>
>> On Fri, Sep 17, 2010 at 11:34 AM, dan (ddp) <[email protected]> wrote:
>>>
>>> Nope, but it's pretty easy with a loop.
>>>
>>> On Fri, Sep 17, 2010 at 2:32 PM, Jeremy Lee <[email protected]> wrote:
>>> > BTW: I don't suppose there's a way to 'restart all' agents is there? I
>>> > suppose I could come up with something (iterating loop) via command
>>> > line...
>>> >
>>
>>
>>
>> --
>> -Bill
>
>

Reply via email to