Philemon Jaomalaza
2018-11-15 21:45:08 UTC
Hello,
I have on sqlcounter :
sqlcounter counterChilliSpotMaxTotalOctetsAll {
sql_module_instance = sql
dialect = ${modules.sql.dialect}
counter_name = ChilliSpot-Max-Total-Octets
check_name = CS-Total-Octets
counter-type = data
reply_name =
ChilliSpot-Max-Total-Octets
key = User-Name
reset = never
query = "SELECT
IFNULL((SUM(AcctInputOctets + AcctOutputOctets)),0) FROM radacct WHERE
UserName='%%{${key}' AND UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime >
'%%b'"
}
When I start : Freeradius -X
I have this error :
/etc/freeradius/3.0/mods-enabled/sqlcounter[357]: Counter attribute
ChilliSpot-Max-Total-Octets MUST be integer64
/etc/freeradius/3.0/mods-enabled/sqlcounter[357]: Instantiation failed for
module "counterChilliSpotMaxTotalOctetsAll"
How can I solve this ?
JMLZ
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
-
List info/subscribe/unsubscribe? See http://www.fre
I have on sqlcounter :
sqlcounter counterChilliSpotMaxTotalOctetsAll {
sql_module_instance = sql
dialect = ${modules.sql.dialect}
counter_name = ChilliSpot-Max-Total-Octets
check_name = CS-Total-Octets
counter-type = data
reply_name =
ChilliSpot-Max-Total-Octets
key = User-Name
reset = never
query = "SELECT
IFNULL((SUM(AcctInputOctets + AcctOutputOctets)),0) FROM radacct WHERE
UserName='%%{${key}' AND UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime >
'%%b'"
}
When I start : Freeradius -X
I have this error :
/etc/freeradius/3.0/mods-enabled/sqlcounter[357]: Counter attribute
ChilliSpot-Max-Total-Octets MUST be integer64
/etc/freeradius/3.0/mods-enabled/sqlcounter[357]: Instantiation failed for
module "counterChilliSpotMaxTotalOctetsAll"
How can I solve this ?
JMLZ
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
https://www.avast.com/antivirus
-
List info/subscribe/unsubscribe? See http://www.fre