Hi Team, Can anyone please tell me we are storing data in Acct-Input-Octets and Acct-Output-Octets is bits or bytes or any other format ? Kind regards, Somanath Mishra
On April 11, 2019 at 2:29 PM Matthew Newton <mcn@freeradius.org> wrote:
On 11 April 2019 08:34:08 BST, Somanath Mishra <somanath.mishra@luscious-it.com> wrote:
> >
Can anyone please tell me we are storing data in Acct-Input-Octets and Acct-Output-Octets is bits or bytes or any other format ?
>
Octets are bytes.
--
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. Please help me.Thanks
Matthew
Kind regards, Somanath Mishra
On Apr 11, 2019, at 1:17 PM, Somanath Mishra <somanath.mishra@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. Alan DeKok.
On Apr 11, 2019, at 2:49 PM, Alan DeKok <aland@deployingradius.com> wrote:
On Apr 11, 2019, at 1:17 PM, Somanath Mishra <somanath.mishra@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
participants (4)
-
Alan DeKok -
Arran Cudbard-Bell -
Matthew Newton -
Somanath Mishra