Community discussions

MikroTik App
 
kabrutus
just joined
Topic Author
Posts: 17
Joined: Mon Nov 10, 2014 7:49 pm

get total number of client on multiple access points

Fri Jul 03, 2015 4:47 pm

Hi,
I am wondering if there is a way to tally the number of clients conntected to multiple access points.

i have 3 access points. I am able to get the total number of clients on each access point using the following...
clients: [oid("1.3.6.1.4.1.21013.1.2.12.1.1.1.4.1")]
172.16.0.3
172.16.0.4
172.16.0.5

Is there a way to collect all the clients and add them to a total?
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 3005
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: get total number of client on multiple access points

Sun Jul 05, 2015 6:03 am

using the dude in charts create a data source like this
dude data src.jpg
in code something like this

round((oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.31","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.32","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.33","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.34","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.35","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.41","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.42","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.43","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.44","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.45","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.46","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.151.47","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.89.21","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.89.22","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.89.23","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.89.31","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.89.32","v2-public"))+(oid("1.3.6.1.4.1.14988.1.1.1.4.0","5","300","192.168.89.33","v2-public"))+(oid("1.3.6.1.4.1.171.10.37.40.2.1.3.3.4.1.1.2.1","5","300","192.168.151.51","test"))+(oid("1.3.6.1.4.1.171.10.37.40.2.1.3.3.4.1.1.2.1","5","300","192.168.151.53","test"))+(oid("1.3.6.1.4.1.171.10.37.40.2.1.3.3.4.1.1.2.1","5","300","192.168.151.55","test"))+(oid("1.3.6.1.4.1.171.10.37.40.2.1.3.3.4.1.1.2.1","5","300","192.168.151.56","test")))

then create a chart using that data source
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 13 guests