On Wednesday, March 14, 2018 at 5:04:40 PM UTC-10, Arvind Lavania wrote: > > Hello, > > During release i need to remove 50 boxes(Lin/Win) from OSSEC manager on > every month and than need to enroll 50 nex boxes. Is there any command so i > can remove those 50 agent before enrolling new one so IP duplicate or > hostname duplicate related error not come in production. > > I am using Ansible to enroll the server in ossec manager. >
Depending on what you're trying to do and whether preserving keys/history are important, the rename_agent.sh and renumber_agent.sh scripts in the contrib directory might be useful. Note that these scripts need to be run on both the agent and the server. YMMV. -- --- 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.
