[rbak-nsp] Subscriber bulkstats
Jim Tyrrell
jim at scusting.com
Wed Mar 3 07:06:41 EST 2010
We could and we do to some extent - but the Radius accounting is not
very granular at all as its hours between interim records. We could
send more regular updates but I'm concerned that Radius is going to get
very busy if we do that - and the Radius accounting backend database is
already straining with many millions of rows each month.
I was hoping bulkstats would provide more detail without strain on the
SE800 and other services.
Ian - I will try your config and see what I get - thanks.
Jim.
Marcin Kuczera wrote:
> jim at scusting.com wrote:
>> Has anyone used Bulkstats for subscriber data collection? If so do
>> you have an example config I can try?
>
> well, I didn't but - wouldn't be that simpler to use Radius Accounting ?
>
> Regards,
> Marcin
>
>
>
>>
>> I'm still just getting "Data not yet available for Subscriber on
>> circuit" although the subscriber has now been connected for days and
>> generating traffic.
>>
>> Thanks.
>>
>> Jim.
>>> Hi,
>>>
>>> I'm just trying to enable some bulkstats data collection to retrieve
>>> in/out bytes for users connections etc but I'm not getting data for
>>> the subscribers. Here is what I have setup:
>>> ---------
>>> bulkstats schema profile subscriber subbulk format "%s %s %s %u %u"
>>> user_name session_id context_name inoctets outoctets
>>>
>>> context test
>>> bulkstats policy subbulk
>>> localdir /md/bulkstat
>>> sample-interval 5
>>> transfer-interval 5
>>> limit 2048
>>> remotefile format "%s_%s_%s_%s" context policy date timeofday
>>> header format "Collection file from host %s, Context:%s, Policy:
>>> %s" hostname context policy
>>> receiver 192.168.0.1 primary mechanism ftp login ftpbulk encrypted
>>> 2156606480B4B34C
>>> collection
>>>
>>> subscriber default
>>> bulkstats schema subbulk policy subbulk
>>> ---------
>>>
>>> (I dont actually see the bulkstats config under the subscriber
>>> default even though I have configured it there). I am getting files
>>> transferred every 5 minutes but all I get is:
>>>
>>> example
>>> Collection file from host blah, Context:test, Policy: subbulk
>>> subbulk: <Data not yet available for Subscriber on circuit:
>>> 255/16:1023:63/5/2/213250, sysup:62034306, epoch:1267200357>
>>>
>>> example:
>>> Collection file from host blah, Context:test, Policy: subbulk
>>> subbulk: <Data not yet available for Subscriber on circuit:
>>> 255/16:1023:63/5/2/213250, sysup:62035506, epoch:1267201557>
>>>
>>> All my files are reporting Data not yet available? Am I missing
>>> something? This is a test context with 1 valid active user.
>>>
>>> Thanks.
>>>
>>> Jim.
>>>
>>>
>>> _______________________________________________
>>> redback-nsp mailing list
>>> redback-nsp at puck.nether.net
>>> https://puck.nether.net/mailman/listinfo/redback-nsp
>>
>> _______________________________________________
>> redback-nsp mailing list
>> redback-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/redback-nsp
>>
>
>
More information about the redback-nsp
mailing list