ispCP - Board - Support
Traffic Calculation, manual usage (commandline) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Traffic Calculation, manual usage (commandline) (/thread-5935.html)



Traffic Calculation, manual usage (commandline) - Mattz - 03-05-2009 12:31 PM

Hi all,

I'm investegating some traffic analyzers for apache, postfix and dovecot. It seems that the loggingscripts from ISP-control do fit my needs when I crawl them.

I want to crawl the logs and put the data into a MySQL database as it's done in ISP-contol too.

My question is if it's possible to use the "ispcp-vrl-traff" and "ispcp-srv-traff" files on a non-ISP-control system by using the commandline.

I see that "require 'ispcp_common_code.pl';" is done in these script for general settings and configurations, so I need to change this a little but.

But i's it in general possible to run the script like: script.pl var1 var2 var3 ?

Or do I need to call them for each domainname in a different way ?

I hope to get some help with this.

Regards,

Matt


RE: Traffic Calculation, manual usage (commandline) - crafter - 01-16-2010 09:59 AM

See this post
http://www.isp-control.net/forum/thread-8053-post-71844.html#pid71844