Page 1 of 1

how to save user statistic?

Posted: Sat Aug 19, 2006 2:53 pm
by Hellbound
hi guys,
is it possible to save all users's statistics with tablimited format into a txt file every day at certain hours like a cron job?

thanks

Posted: Mon Aug 28, 2006 2:02 pm
by yogid
Why don't you want use SNMP?!

Posted: Mon Aug 28, 2006 2:04 pm
by Hellbound
any sample for doing it?

Posted: Mon Aug 28, 2006 5:36 pm
by Eugene
snmpwalk -v 1 -c public 10.5.7.1 > myfile
Eugene

Posted: Mon Aug 28, 2006 7:01 pm
by Hellbound
snmpwalk -v 1 -c public 10.5.7.1 > myfile
Eugene
this is at server side right? but how to make mikrotik send user statistics?

Posted: Tue Aug 29, 2006 11:48 am
by Eugene
Writing a script to send all this from the router via e-mail is much more complicated task then polling your routers via SNMP from a server.