Community discussions

MikroTik App
 
alex_rhys-hurn
Member
Member
Topic Author
Posts: 348
Joined: Mon Jun 05, 2006 8:26 pm
Location: Kenya
Contact:

Using Cacti to graph PPPOE Sessions

Thu Aug 30, 2007 10:06 pm

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.
 
Ozelo
Member
Member
Posts: 338
Joined: Fri Jun 02, 2006 3:56 am

Re: Using Cacti to graph PPPOE Sessions

Mon Sep 03, 2007 2:59 pm

Just need to make the user pppoe interface static and then setup it on cacti.
 
caramagro
just joined
Posts: 5
Joined: Thu Dec 03, 2009 11:54 pm

Re: Using Cacti to graph PPPOE Sessions

Wed Dec 09, 2009 2:13 pm

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?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Using Cacti to graph PPPOE Sessions

Wed Dec 09, 2009 3:23 pm

try to add 'PPPOE Server' for that user and check again...
 
caramagro
just joined
Posts: 5
Joined: Thu Dec 03, 2009 11:54 pm

Re: Using Cacti to graph PPPOE Sessions

Wed Dec 09, 2009 4:36 pm

Thank you Chupaka,

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

Follow the steps I did:

Image

Image

Is it ok?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Using Cacti to graph PPPOE Sessions

Wed Dec 09, 2009 4:52 pm

when user connects - it becomes 'pppoe-in1' interface?
 
caramagro
just joined
Posts: 5
Joined: Thu Dec 03, 2009 11:54 pm

Re: Using Cacti to graph PPPOE Sessions

Wed Dec 09, 2009 8:13 pm

Thank you :D , I found the problem and fixed it, i just changed the name from the PPPoe Inteface to dinamic name.

Image
 
User avatar
tamahome
Frequent Visitor
Frequent Visitor
Posts: 87
Joined: Thu Jun 28, 2007 11:25 pm
Location: Buenos Aires
Contact:

Re: Using Cacti to graph PPPOE Sessions

Fri Jan 27, 2012 3:19 pm

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.
 
cdman
newbie
Posts: 29
Joined: Sun Jan 01, 2006 11:47 pm
Location: Bulgaria/Sofia

Re: Using Cacti to graph PPPOE Sessions

Tue Jan 31, 2012 2:09 pm

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.
 
User avatar
tamahome
Frequent Visitor
Frequent Visitor
Posts: 87
Joined: Thu Jun 28, 2007 11:25 pm
Location: Buenos Aires
Contact:

Re: Using Cacti to graph PPPOE Sessions

Tue Jan 31, 2012 4:38 pm

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.
 
cateyes13
just joined
Posts: 5
Joined: Wed Nov 26, 2014 6:16 pm

Re: Using Cacti to graph PPPOE Sessions

Sun Nov 30, 2014 12:08 pm

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.....
 
User avatar
tamahome
Frequent Visitor
Frequent Visitor
Posts: 87
Joined: Thu Jun 28, 2007 11:25 pm
Location: Buenos Aires
Contact:

Re: Using Cacti to graph PPPOE Sessions

Thu Dec 04, 2014 1:04 pm

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.
 
cateyes13
just joined
Posts: 5
Joined: Wed Nov 26, 2014 6:16 pm

Re: Using Cacti to graph PPPOE Sessions

Sun Dec 14, 2014 1:38 pm

please would you describe me how to make sessions static?
 
User avatar
tamahome
Frequent Visitor
Frequent Visitor
Posts: 87
Joined: Thu Jun 28, 2007 11:25 pm
Location: Buenos Aires
Contact:

Re: Using Cacti to graph PPPOE Sessions

Mon Dec 15, 2014 2:16 am

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.
 
soamz
Member
Member
Posts: 430
Joined: Thu Mar 19, 2015 7:19 am

Re: Using Cacti to graph PPPOE Sessions

Sat Jul 23, 2016 7:35 pm

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 ?
 
gisunms
just joined
Posts: 1
Joined: Fri Nov 20, 2020 3:19 pm

Re: Using Cacti to graph PPPOE Sessions

Tue Feb 22, 2022 11:45 pm

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)
}

Who is online

Users browsing this forum: maxslug and 20 guests