• MikroTik.com
  • RouterBOARD
  • User Meeting
  • Training
  • User Manual
  • Support
  • Downloads
  • Videos
Register |   * Login | HOME

View unanswered posts | View active topics

Using Cacti to graph PPPOE Sessions  Page 1 of 1
 [ 10 posts ]  Post new topic Reply to topic
  Print view Previous topic | Next topic 
Author Message
alex_rhys-hurn
 Post subject: Using Cacti to graph PPPOE Sessions
PostPosted: Thu Aug 30, 2007 9:06 pm 
Offline
Member Candidate
Member Candidate

Joined: Mon Jun 05, 2006 7:26 pm
Posts: 276
Karma: 9

Location: Kenya
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.


Top
 Profile  
 
Ozelo
 Post subject: Re: Using Cacti to graph PPPOE Sessions
PostPosted: Mon Sep 03, 2007 1:59 pm 
Offline
Member
Member

Joined: Fri Jun 02, 2006 2:56 am
Posts: 336
Karma: 0
Just need to make the user pppoe interface static and then setup it on cacti.


Top
 Profile  
 
caramagro
 Post subject: Re: Using Cacti to graph PPPOE Sessions
PostPosted: Wed Dec 09, 2009 2:13 pm 
Offline
just joined

Joined: Thu Dec 03, 2009 11:54 pm
Posts: 5
Karma: 0
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?


Top
 Profile  
 
Chupaka
 Post subject: Re: Using Cacti to graph PPPOE Sessions
PostPosted: Wed Dec 09, 2009 3:23 pm 
Online
Forum Guru
Forum Guru
User avatar

Joined: Mon Jun 19, 2006 10:15 pm
Posts: 6906
Karma: 111

Location: Home Network Ltd., Minsk, Belarus
try to add 'PPPOE Server' for that user and check again...

_________________
For every complex problem, there is a solution that is simple, neat, and wrong.

¡ɹǝ|nɹ SOɹǝʇnoɹ ʞıʇoɹʞıW ɯ‚|

MikroTik. Your life. Your routing.

skype: pavel.skuratovich


Top
 Profile  
 
caramagro
 Post subject: Re: Using Cacti to graph PPPOE Sessions
PostPosted: Wed Dec 09, 2009 4:36 pm 
Offline
just joined

Joined: Thu Dec 03, 2009 11:54 pm
Posts: 5
Karma: 0
Thank you Chupaka,

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

Follow the steps I did:

Image

Image

Is it ok?


Top
 Profile  
 
Chupaka
 Post subject: Re: Using Cacti to graph PPPOE Sessions
PostPosted: Wed Dec 09, 2009 4:52 pm 
Online
Forum Guru
Forum Guru
User avatar

Joined: Mon Jun 19, 2006 10:15 pm
Posts: 6906
Karma: 111

Location: Home Network Ltd., Minsk, Belarus
when user connects - it becomes 'pppoe-in1' interface?

_________________
For every complex problem, there is a solution that is simple, neat, and wrong.

¡ɹǝ|nɹ SOɹǝʇnoɹ ʞıʇoɹʞıW ɯ‚|

MikroTik. Your life. Your routing.

skype: pavel.skuratovich


Top
 Profile  
 
caramagro
 Post subject: Re: Using Cacti to graph PPPOE Sessions
PostPosted: Wed Dec 09, 2009 8:13 pm 
Offline
just joined

Joined: Thu Dec 03, 2009 11:54 pm
Posts: 5
Karma: 0
Thank you :D , I found the problem and fixed it, i just changed the name from the PPPoe Inteface to dinamic name.

Image


Top
 Profile  
 
tamahome
 Post subject: Re: Using Cacti to graph PPPOE Sessions
PostPosted: Fri Jan 27, 2012 3:19 pm 
Offline
Frequent Visitor
Frequent Visitor
User avatar

Joined: Thu Jun 28, 2007 10:25 pm
Posts: 81
Karma: 0

Location: Buenos Aires
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.

_________________
Blog.tamax.com.ar
Foro.tamax.com.ar


Top
 Profile  
 
cdman
 Post subject: Re: Using Cacti to graph PPPOE Sessions
PostPosted: Tue Jan 31, 2012 2:09 pm 
Offline
just joined

Joined: Sun Jan 01, 2006 11:47 pm
Posts: 12
Karma: 0

Location: Bulgaria/Sofia
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.


Top
 Profile  
 
tamahome
 Post subject: Re: Using Cacti to graph PPPOE Sessions
PostPosted: Tue Jan 31, 2012 4:38 pm 
Offline
Frequent Visitor
Frequent Visitor
User avatar

Joined: Thu Jun 28, 2007 10:25 pm
Posts: 81
Karma: 0

Location: Buenos Aires
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.

_________________
Blog.tamax.com.ar
Foro.tamax.com.ar


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  Page 1 of 1
 [ 10 posts ] 

Board index » RouterOS » Scripting

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Karma functions powered by Karma MOD © 2007, 2009 m157y