data format of Acct-Input-Octets

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Apr 11 22:46:36 CEST 2019



> On Apr 11, 2019, at 2:49 PM, Alan DeKok <aland at deployingradius.com> wrote:
> 
> On Apr 11, 2019, at 1:17 PM, Somanath Mishra <somanath.mishra at luscious-it.com> wrote:
>> So we are getting acct-input-octets(76884551761) and acct-output-octets(115722566987) in radacct.
>> 
>> if we are considering in BITS to MB ,then-9610.5690(acct-input-octets), 14465.3209(acct-output-octets),
>> 
>> if we are considering in BYTES to MB ,then-76884.5518(acct-input-octets), 115722.5670(acct-output-octets),
>> 
>> and we are using controller showing data usage calculation value matching with BITS to MB. So we are confused that data is in bits or bytes in table.
> 
>  The specifications say that it is in bytes.
> 
>  If your NAS is sending the count of bits, then your NAS is wrong.  File bug with the NAS vendor and ask for software that isn't broken.  Or, buy a NAS that isn't broken.

Or use the expr expansion to divide by eight :)

-Arran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20190411/db3a822b/attachment.sig>


More information about the Freeradius-Users mailing list