Community discussions

MikroTik App
User avatar
otgooneo
Trainer
Trainer
Topic Author
Posts: 580
Joined: Tue Dec 01, 2009 3:24 am
Location:Mongolia
Contact:

How to graph mangle rule rate

Tue Jan 25, 2011 5:28 pm

Hello guys,

I have ROS v5.0 and I created some mangle rules. I can see the real time rate graphic using winbox but I need to store this graphic. Please help me to do that. Using SNMP, Dude or traffic flow?
Top
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6689
Joined: Thu Mar 31, 2005 3:33 pm
Location:Riga, Latvia
Contact:

Re: How to graph mangle rule rate

Wed Jan 26, 2011 9:59 am

Create queue (it could without limitation) and make graph for it.
Top
User avatar
otgooneo
Trainer
Trainer
Topic Author
Posts: 580
Joined: Tue Dec 01, 2009 3:24 am
Location:Mongolia
Contact:

Re: How to graph mangle rule rate

Fri Jan 28, 2011 9:48 am

Thank you Sergejs. Upload traffic is okay. Download traffic is not right. Please see the attached picture. Mangle is working fine, but queue can`t catch marked packets.
Code:Select all
[otgonkhuu@MobiNetAU] > ip firewall mangle print where comment="ExtDownlink" Flags: X - disabled, I - invalid, D - dynamic 0 ;;; ExtDownlink chain=postrouting action=mark-packet new-packet-mark=Download-Garts passthrough=yes src-address-list=!OTHERISP dst-address-list=LOCAL [otgonkhuu@MobiNetAU] > queue simple print where name=External-Download Flags: X - disabled, I - invalid, D - dynamic 0 name="External-Download" dst-address=0.0.0.0/0 interface=ether1 parent=none packet-marks=Download-Garts direction=both priority=8 queue=default/default limit-at=0/0 max-limit=0/0 burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s total-queue=Test-Gueue
Strange that gueue doesn`t work. I tried to change Chain=forward and priority=1
You do not have the required permissions to view the files attached to this post.
Top
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6689
Joined: Thu Mar 31, 2005 3:33 pm
Location:Riga, Latvia
Contact:

Re: How to graph mangle rule rate

Fri Jan 28, 2011 3:56 pm

Set interfaces=all to your /queue simple.
Top
User avatar
otgooneo
Trainer
Trainer
Topic Author
Posts: 580
Joined: Tue Dec 01, 2009 3:24 am
Location:Mongolia
Contact:

Re: How to graph mangle rule rate

Wed Feb 02, 2011 12:11 pm

Thank you Sergejs. Now I can see all download and upload. But gueue graphic is always less than mangle rule graphic. What can I do for fix it. Difference between gueue and mangle graphic is 3Mbps to 8Mbps.
You do not have the required permissions to view the files attached to this post.
Top
User avatar
Caci99
Forum Guru
Forum Guru
Posts: 1073
Joined: Wed Feb 21, 2007 2:26 pm
Location:Tirane
Contact:

Re: How to graph mangle rule rate

Wed Feb 02, 2011 4:31 pm

我看到您的队列在TX的抓包d RX. Looks like the summ of them equals, more or less
those of your mangle queue. I think the queue will reflect the quantity of rate of the mangle a little bit later
than the rate you see in the mangle itself.
Top
User avatar
otgooneo
Trainer
Trainer
Topic Author
Posts: 580
Joined: Tue Dec 01, 2009 3:24 am
Location:Mongolia
Contact:

Re: How to graph mangle rule rate

Mon Feb 07, 2011 7:58 am

Thank you for reply. I will try again.
Sergejs... Can I graph /queue simple print count-only ? It means I want to graph active users.
Top
User avatar
otgooneo
Trainer
Trainer
Topic Author
Posts: 580
Joined: Tue Dec 01, 2009 3:24 am
Location:Mongolia
Contact:

Re: How to graph mangle rule rate

Mon Feb 07, 2011 12:54 pm

Today I found mistake. No way to use queue for graphing. When I was added unlimited simple queue for graphing, all my PPPoE clients dynamic queues was stopped. Hotspot client dynamic queues are working fine. So I have disabled this simple queue today.
It is was very big mistake. Best choice is add feature to store graphic of Mangle rules.
Top

Who is online

Users browsing this forum:Bing [Bot]and 20 guests