Mikrotik - PPPoE Services - By Username

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
joegoldman
Posts: 6
Joined: Tue Oct 18, 2011 4:44 pm

Mikrotik - PPPoE Services - By Username

Post by joegoldman »

Hi Forum.

Hoping for some help.

Would like to create a template where it gets and polls dynamic PPPoE interfaces on a Mikrotik router. I currently do this by hitting the simple queue that comes along with it, but some connections dont have simple queues, and if I do the interface directly of course once it disconnects and reconnects its a new ifIndex so changes around.

I'd love to be able to map it to by the ifName - and if possible even do a re-write of the ifName, as sometimes if a user logs back in before the old session has timed out they come on with username-1 or username-2, so I'd like to be able to rewrite all them to just username, and never create a duplicate (as I sometimes get now)

Is this possible? Anyone else successfully graph PPPoE clients without shitloads of overhead management?

Thanks,
Joe
joegoldman
Posts: 6
Joined: Tue Oct 18, 2011 4:44 pm

Re: Mikrotik - PPPoE Services - By Username

Post by joegoldman »

In the same vein, have it so it easily detects a down/up event and instead of doing a counter overrun maybe pushes in a 0 record or something so it doesnt spike the graph to some crazy amount of bandwidth.
netniV
Cacti Guru User
Posts: 3441
Joined: Sun Aug 27, 2017 12:05 am

Re: Mikrotik - PPPoE Services - By Username

Post by netniV »

If it's a feature request, you may get a better response opening an issue on github:
https://github.com/cacti/plugin_mikrotik
Cacti Developer & Release Manager
The Cacti Group

Director
BV IT Solutions Ltd

+--------------------------------------------------------------------------+

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests