Hello there,

here is a small commandline for restarting all Clients at the same time:

#!/bin/bash
for i in `/var/ossec/bin/agent_control -lc | cut -d: -f2 | cut -d, -f1` 
;do  /var/ossec/bin/agent_control -R $i ;done

First step run var/ossec/bin/agent_control -lc and cut all ServerIDs, for 
each ServerID restart make /var/ossec/bin/agent_control -R.

Maybe if you want deploy a Config it can be helpful to restart all Clients.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to