Community discussions

MikroTik App
 
Inssomniak
Member
Member
Topic Author
Posts: 332
Joined: Fri Apr 13, 2007 11:21 pm

Graph Number of PPPoE Logins

Mon Sep 26, 2016 8:19 pm

Is there an OID for the currently logged in PPPoE Clients?


I found this from a bunch of years ago but I couldn't adapt this to the new dude.
http://mum.mikrotik.com/presentations/CZ09/schaub.pdf

Any help ?

Thanks
 
krisjanis
MikroTik Support
MikroTik Support
Posts: 432
Joined: Tue Feb 05, 2013 5:00 pm

Re: Graph Number of PPPoE Logins

Wed Sep 28, 2016 4:29 pm

I don't think that there is a oid for that.

You can use different approach for this. Presuming that the device is ROS and you are monitoring it with ROS login.

* Create a custom data source:

Name: ppp_running_server_int_count
Unit: pcs
Device: (selced_dev)
Code: ros_command("/interface pppoe-server print count-only where running")

* Check if it returns any data in "last value" field
* Use this data source in graph
 
Inssomniak
Member
Member
Topic Author
Posts: 332
Joined: Fri Apr 13, 2007 11:21 pm

Re: Graph Number of PPPoE Logins

Wed Sep 28, 2016 5:37 pm

Yes thanks last night this is how I got it to work!

Thanks

Who is online

Users browsing this forum: No registered users and 13 guests