I want to limit the transferred volume of data for my hotspot users to 5GB.
In counter.conf I have :
Code:Select all
sqlcounter volumecounter{ counter-name = Max-All-Octets check-name = Mikrotik-Total-Limit reply-name = Mikrotik-Xmit-Limit sqlmod-inst = sql key = User-Name reset = never query = "select ifnull(sum(acctinputoctets),0) from radacct WHERE UserName='%{%k}'" }
相关的返回值d Gigawords values ?
Is it possible to get both values from one counter or do I need a second one?
I have seen that the problem was often discussed here, the answers were always "use ...-Gigawords", but
no one had a solution how to implement it.
Any hints ?
TIA