Mám správně zadané věci v acctcol.pl?
# Database configuration #
# #
$database = "bwusage";
$intable = "inbound";
$outtable = "outbound";
$localtable = "local";
$tmpdown = "tmpdown";
$tmpup = "tmpup";
$tmplocal = "tmplocal";
$hostname = "localhost";
$user = "vsetec";
$password = "570503";
# IP or dns name of your mikrotik router #
# if your running the webservice on differnt port then add #
# to the host string. For example #
# mikrotik.fament.com #
$ip = "10.136.124.5";
# here you provide a list of your local IPs written in CIDR #
# format ie network address 192.168.0.0 with netmask #
# 255.255.255.0 should be written as 192.168.0.0/24 #
# so if you have 2 local network 192.168.0.0/24 and 1.4.5.0/24 #
# you would write them as (192.168.0.0/24,1.4.5.0/24) #
# the local ips will tell the script into which database we #
# we will be dumping data into depending if it's inbound or #
# outbound traffic. #
@localnet = ('10.136.124.0/27');
# Time between accounting collections in minutes #
# If you specify a value to high and/or your threshold is set #
# to low then you will miss accounting data. Easiest to check #
# this is to run this script in the foreground and turn on #
# debugging and if you rows equals threshold then your missing #
# or risk missing accounting data. #
$seconds = "300";
# Debugging option #
# Off = 0 #
# Stats = 1 #
# Stats + sql statments = 2 #
$debugging = "1";