NetXMS Support Forum

English Support => General Support => Topic started by: osvaldotcf on February 10, 2015, 11:54:06 PM

Title: Accounting Traffic of Clients (Mikrotik Hotspot)
Post by: osvaldotcf on February 10, 2015, 11:54:06 PM
We work with internet provision and we should take accounting of customers traffic individually.

Do you have any way to do it using the NetXMS ?

We use Mikrotik configured with Hotspot .

Thank U.
Title: Re: Accounting Traffic of Clients (Mikrotik Hotspot)
Post by: Alex Kirhenshtein on March 19, 2015, 08:06:54 PM
Hello.

There are no out of the box solution for that.
I'd write some kind of script which will connect to mikrotik (over ssh or telnet), parse "ip hostspot active" command and produce per-user output in format of external parameter provider (https://wiki.netxms.org/wiki/ExternalParametersProvider)
I also suggest to create second script, which will return only customer names, this way you'll be able to setup instance discovery (https://www.netxms.org/forum/configuration/create-agent-list-for-instance-discovery/)