Yes I have used the ossec-batch-manager.pl before but it doesn't allow duplicate IP's so if I enter a dhcp assigned IP that looks like 192.168.13.0/24 it won't allow the next one from the list... Works great for static but I need to work with DHCP addresses... The switches that I am looking for aren't documented when running "manage_agents -h"...
On Thu, Feb 17, 2011 at 2:51 PM, Jeremy Lee <[email protected]> wrote: > Sounds like you're referring to the ossec-batch-manager.pl script. This > can be found in the contrib dir of the OSSEC installation folder: > /ossec-hids-2.5.1/contrib > > > > > On Thu, Feb 17, 2011 at 6:50 AM, Eddie <[email protected]> wrote: > >> Hello, >> >> I had a script that used the manage_agents tool to populate the server >> with a bunch of agents by reading in the hostname and ip from a >> seperate list... I accidentally deleted this script and now I can't >> exactly remeber the syntax of the manage_agents command that performed >> the addition of clients... I believe it was something like the >> following but of course that would then deem this post irelevant if it >> was... :-) >> >> /var/ossec/bin/manage_agents -a --name $host --id $id --ip $ip >> >> I have searched for multiple hours and tried many different >> combinations trying to get this to work again... Any help would be >> greatly appreciated > > >
