Page 1 of 1

Using Cacti to graph PPPOE Sessions

Posted: Thu Aug 30, 2007 10:06 pm
by alex_rhys-hurn
Hey Folks.

I dont know if this is the right forum, but here goes anyway...

Has anybody managed to get Cacti graphs to monitor PPPOE interfaces properly?

I have managed to get it to monitor the dynamic interface that is generated on the mikrotik router but my problem comes when that interface changes due to a PPPOE session end. The next time the user logs in they will get a different dynamic interface.

Has anyone managed this before? Is anyone willing to share / help me through this?

Salaams to all.

Re: Using Cacti to graph PPPOE Sessions

Posted: Mon Sep 03, 2007 2:59 pm
by Ozelo
Just need to make the user pppoe interface static and then setup it on cacti.

Re: Using Cacti to graph PPPOE Sessions

Posted: Wed Dec 09, 2009 2:13 pm
by caramagro
Every time the user disconnect the PPPOE the interface number change.

exemple:

pppoe-gustavo@telecom interface --> 49150 (first connection)

disconnection

pppoe-gustavo@telecom interface --> 49171 (second connection)

How can I configure PPPOE interface static?

Re: Using Cacti to graph PPPOE Sessions

Posted: Wed Dec 09, 2009 3:23 pm
by Chupaka
try to add 'PPPOE Server' for that user and check again...

Re: Using Cacti to graph PPPOE Sessions

Posted: Wed Dec 09, 2009 4:36 pm
by caramagro
Thank you Chupaka,

I Try to do your suggestion, but it didn't work.

Follow the steps I did:

Image

Image

Is it ok?

Re: Using Cacti to graph PPPOE Sessions

Posted: Wed Dec 09, 2009 4:52 pm
by Chupaka
when user connects - it becomes 'pppoe-in1' interface?

Re: Using Cacti to graph PPPOE Sessions

Posted: Wed Dec 09, 2009 8:13 pm
by caramagro
Thank you :D , I found the problem and fixed it, i just changed the name from the PPPoe Inteface to dinamic name.

Image

Re: Using Cacti to graph PPPOE Sessions

Posted: Fri Jan 27, 2012 3:19 pm
by tamahome
Chupaca, Im trying as you suggested to create a pppoe server for each user.

Will this generate more/less/equal CPU usage?

Now I see that the interface does not appear in simple queue list, but still gets limit. Does it make any difference at all? Where the limit is taking place if not in the queue?

I have a 80% CPU usage at a RB1200. I am trying to find out how using 300 PPPOE servers will impact in the hardware.


Thank you very much for the idea, I just needed the graphs of usage and with this is possible.

Re: Using Cacti to graph PPPOE Sessions

Posted: Tue Jan 31, 2012 2:09 pm
by cdman
If you are using Simple Queue for shaping users traffic with PPPoE - then you can graph based on Simple queue - its easy and name is always the same: <pppoe-username> - I found it easy to get this values with SNMP and make graphs. I dont use cacti but I use the same way cacti get values - so it should be doable.

Re: Using Cacti to graph PPPOE Sessions

Posted: Tue Jan 31, 2012 4:38 pm
by tamahome
I've done it with Static PPPoE-Server for each user. This way the graphs doesn't dissapear every time the user logs in.

Is there any way to block PPPoE to make dynamic links and work only with static?

Thank you.

Re: Using Cacti to graph PPPOE Sessions

Posted: Sun Nov 30, 2014 12:08 pm
by cateyes13
hey bro cdman......
my pppoe secrets create dynamic queue cause their profile assigned bandwidth by rate limit. So every time if customer reconnect they get a different name oid, bytes-in oid etc. so how i configure dynamic queue for graphing.
so if anybody has a solution by this so tell me.....

Re: Using Cacti to graph PPPOE Sessions

Posted: Thu Dec 04, 2014 1:04 pm
by tamahome
You can make every pppoe session Static. This way the graph will dissapear every time the client disconnect, but when he connects again you will see all the graphs as a simple queue client.

Re: Using Cacti to graph PPPOE Sessions

Posted: Sun Dec 14, 2014 1:38 pm
by cateyes13
please would you describe me how to make sessions static?

Re: Using Cacti to graph PPPOE Sessions

Posted: Mon Dec 15, 2014 2:16 am
by tamahome
From winbox PPP > Interfaces > Double Click in a dynamic interface > Copy > Apply > OK

Before applying make sure you REMOVE the previos PPP Interface you are copying.

Re: Using Cacti to graph PPPOE Sessions

Posted: Sat Jul 23, 2016 7:35 pm
by soamz
From winbox PPP > Interfaces > Double Click in a dynamic interface > Copy > Apply > OK

Before applying make sure you REMOVE the previos PPP Interface you are copying.
Sorry, that is confusing. 
Can you explain how to do that ?

Re: Using Cacti to graph PPPOE Sessions

Posted: Tue Feb 22, 2022 11:45 pm
by gisunms
From winbox PPP > Interfaces > Double Click in a dynamic interface > Copy > Apply > OK

Before applying make sure you REMOVE the previos PPP Interface you are copying.
Sorry, that is confusing.
Can you explain how to do that ?
use this script :)
:foreach x in=[/ppp sec find] do={
:global user [/ppp sec get $x name];
/int pppoe-serv add user=$user name=$user service=(yours-pppoe-servicename)
}