Re: [ossec-list] manage_agents -f :Unable to open file

2012-11-27 Thread peng lin
yes, it work!!!
thinks a lot and very much  : )
On Tuesday, November 27, 2012 12:18:39 PM UTC+8, dan (ddpbsd) wrote:

 Put the file in the ossec dir somewhere, and rederence it by that chroot 
 point. For instance, put it in /var/ossec and run 
 /var/ossec/bin/manage_agents -f /FILE

 The documentation has been updated to reflect this, but hasn't been pushed 
 live yet.
 On Nov 26, 2012 11:15 PM, peng lin linpe...@gmail.com javascript: 
 wrote:

 how to use -f ?  i have some error:
 # ./manage_agents -f test.csv 
 Bulk load file: test.csv
 Opening: [test.csv]
 Failed.: No such file or directory
 2012/11/27 11:45:14 manage_agents(1103): ERROR: Unable to open file 
 'test.csv'.
  
 in test.csv
 #vi test.csv 
 192.168.1.1,IDS1
 Is that something wrong ? 



[ossec-list] manage_agents -f :Unable to open file

2012-11-26 Thread peng lin
how to use -f ?  i have some error:
# ./manage_agents -f test.csv 
Bulk load file: test.csv
Opening: [test.csv]
Failed.: No such file or directory
2012/11/27 11:45:14 manage_agents(1103): ERROR: Unable to open file 
'test.csv'.
 
in test.csv
#vi test.csv 
192.168.1.1,IDS1
Is that something wrong ? 


Re: [ossec-list] manage_agents -f :Unable to open file

2012-11-26 Thread dan (ddp)
Put the file in the ossec dir somewhere, and rederence it by that chroot
point. For instance, put it in /var/ossec and run
/var/ossec/bin/manage_agents -f /FILE

The documentation has been updated to reflect this, but hasn't been pushed
live yet.
On Nov 26, 2012 11:15 PM, peng lin linpeng0...@gmail.com wrote:

 how to use -f ?  i have some error:
 # ./manage_agents -f test.csv
 Bulk load file: test.csv
 Opening: [test.csv]
 Failed.: No such file or directory
 2012/11/27 11:45:14 manage_agents(1103): ERROR: Unable to open file
 'test.csv'.

 in test.csv
 #vi test.csv
 192.168.1.1,IDS1
 Is that something wrong ?