Problem on Graphing Mikrotik Simple Queues

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
hrehm
Posts: 8
Joined: Mon Sep 26, 2011 12:15 pm

Problem on Graphing Mikrotik Simple Queues

Post by hrehm »

Hello,

I wonder if you could help me on this one...

I am using a Mikrotik Router as Hotspot with AAA/Radius.
The Mikrotik Hotspot creates dynamically simple queues for the logged in users.
Those users are returning users, they are always using the same username and log ou and log multiple times a day.
As they are contracted customers, I'd like to graph them and supply the graph on a User-Portal.

Mikrotik Queue graphing is principally working, I found a Templete to graph Mikrotik Simple Queues, the Graphing in prinicpally working.

Unfortunately, the Queues on the Mikrotik are dynamic which means once a User logs out, the Queue will be deleted. A new Queue (with the same name but a new OID) will be created once the User logs in again.

You might see the problem already, as the same Username has now a new OID, the 'old graph will not show anything anymore.
Worse - existing graphs will stop working as a update/reload of the discovery for the Mikrotik Queue Dataquery on the Host will now delete the values for the non-existing queues

Cacti doesn't seem to work properly with dynamically created queues- once I reload a Dataquery, it will generate graphs for the the actual active entries, the others (not logged in - therefore no queue) users will be destroyed.

Can you help on graphing dynamically created simple queues with cacti or do you have any diea how to graph those dynamic Queues?

Thanks,
Heiko
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problem on Graphing Mikrotik Simple Queues

Post by TheWitness »

This is tricky and should be done using a Cacti Plugin. This is my advice. Plugins can be both simple and elegant, or complex and crazy. I write lot's of them.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
hrehm
Posts: 8
Joined: Mon Sep 26, 2011 12:15 pm

Re: Problem on Graphing Mikrotik Simple Queues

Post by hrehm »

Hello Witness,

thanks for your reponse - can we speak about custom dev?

Heiko
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problem on Graphing Mikrotik Simple Queues

Post by TheWitness »

Sure. Please use my email address though.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
hrehm
Posts: 8
Joined: Mon Sep 26, 2011 12:15 pm

Re: Problem on Graphing Mikrotik Simple Queues

Post by hrehm »

Hello,

I do not have your email address :-(

Please email me at heikorehm add gmail dot com

Thanks,
Heiko
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problem on Graphing Mikrotik Simple Queues

Post by TheWitness »

Look at the bottom of my post when logged in. There's this 'email' button...
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
hrehm
Posts: 8
Joined: Mon Sep 26, 2011 12:15 pm

Re: Problem on Graphing Mikrotik Simple Queues

Post by hrehm »

Hi Witness,

unfortunately I do not have this email button.
Guess I do not have enough rights on the board to have that...

pls send me a mail
Attachments
Screenshot of last post
Screenshot of last post
post.PNG (40.98 KiB) Viewed 4115 times
hrehm
Posts: 8
Joined: Mon Sep 26, 2011 12:15 pm

Re: Problem on Graphing Mikrotik Simple Queues

Post by hrehm »

TheWitness wrote:Look at the bottom of my post when logged in. There's this 'email' button...
Hello Witness,

could you pleas get in touchwith me directly?
I cannot see your profile - this feature is disabled on my Account here on the board (why? :-()

Mail: heiko.rehm (ät) intersat.ae

Thanks,
Heiko
noname
Cacti Guru User
Posts: 1566
Joined: Thu Aug 05, 2010 2:04 am
Location: Japan

Re: Problem on Graphing Mikrotik Simple Queues

Post by noname »

>> I cannot see your profile - this feature is disabled on my Account here on the board (why? :-()

- http://forums.cacti.net/viewtopic.php?p=218942#p218942

TheWitness' mail address is described at notification settings of mactrack plugin..
(But I'm not sure whether that is real address :P)
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Problem on Graphing Mikrotik Simple Queues

Post by TheWitness »

I don't hide 'thwitness at cacti dot net'.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
acidsas
Posts: 3
Joined: Mon Jul 14, 2014 9:19 am

Re: Problem on Graphing Mikrotik Simple Queues

Post by acidsas »

Did you solve the issue with cacti & mikrotik’s dynamic simple queues?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest