Am Mittwoch, 28. Januar 2015, 15:20:21 schrieb dan: > On Wed, Jan 28, 2015 at 3:18 PM, Michael Jerger <[email protected]> wrote: > > Am Mittwoch, 28. Januar 2015, 12:09:57 schrieb David Lang: > >> On Wed, 28 Jan 2015, Michael Jerger wrote: > >> > Hi, > >> > > >> > I currently try to write an automated ossec agent deplyment and am > >> > struggeling over setting the agents key. I try on agent system: > >> > > >> > /var/ossec/bin/manage_agents -i somekey > >> > > >> > but get sth. like: > >> > <== Agent information: > >> > <== ID:14 > >> > <== Name:xxx.xxxx.xxxx > >> > <== IP Address:xxx.xxx.xxx.xxx > >> > > >> > <== Confirm adding it?(y/n): > >> > interactive input is dificult for my config management. So my question > >> > is: > >> > Is there a way to set agents-key non-interactive? > >> > >> what I do is create a file containing ip,hostname and then do > >> /var/ossec/bin/manage_agents -f file > > > > This is working for agents? If yes cool :-) > > Docu says " (Manager only)" for this feature. > > Maybe some should fix the docu in this case? > > That some could be you, submit a pull request. ;)
Yea - I will test & fix the docu :-) I've pinned the task allready on my scrumboard. Many thanks for the fine help here :-)) Michael -- --- 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.
