|
|
| Author |
Message |
A7V Contributor
Joined: 18 Jun 2004 Posts: 53 Location: Lisbon, Portugal
|
Posted: Thu Aug 05, 2004 3:52 pm Post subject: Interface Max Speed being limited to 100mbit |
|
|
I just noticed on some 100+ mbits interfaces (Gbit, POS, etc) that NetMRG defines the Maximum value to 100000000.
On a POS interface MRTG reports:
Max Speed: 622.0 Mbits/s but NetMRG defined the Maximum value to 100000000 which I changed to "U"
NetMRG should ask the device it's Max Speed, if not use "U" not 100000000
Now I have a lot of interfaces to change the Maximum Value  |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Thu Aug 05, 2004 5:26 pm Post subject: |
|
|
Actually, it's not currently autodetecting anything; that's the value the monitors have that the template is based on.
Even for your 622Mb/s interfaces I would define a maximum value; When they roll over due to a power flucuation or reboot, you're not going to like the spikes you get.
Probably the best way to do this in the future is to create new template monitors with higher maximums, and a new template that you can apply to these higher bandwidth interfaces.
-Doug |
|
| Back to top |
|
 |
A7V Contributor
Joined: 18 Jun 2004 Posts: 53 Location: Lisbon, Portugal
|
Posted: Thu Aug 05, 2004 5:51 pm Post subject: |
|
|
I understand the point of defining maximum values, we use it on our current mrtg (old) implementation. I'm with you on that
But looking at the templates I found the following values:
Interface Bytes In : Maximum Value: 10.000.000
Interface Bytes Out : Maximum Value: 100.000.000
| Quote: |
| Probably the best way to do this in the future is to create new template monitors with higher maximums, and a new template that you can apply to these higher bandwidth interfaces. |
Actually I believe the best method is to ask the interface it's Max Speed. But looking at your comment I got a question: How do I apply templates to interfaces?[/b] |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Thu Aug 05, 2004 5:56 pm Post subject: |
|
|
It'd probably be good when using the 'view interface cache' method of setting up graphs to pull ifSpeed and set the max that way, you're right. This method is kind-of like a wizard already.
You can select which template graph you'd like applied to an interface when you click 'monitor/graph' by using the pull-down at the bottom right, or you can apply a template when your in the 'template graph' section. You click 'apply template to', and it will bring up a page with a list of device and subdevices. This won't apply new monitors to a interface though; it's probably still easier to use the 'monitor/graph' link in the 'view interface cache' area.
-Doug |
|
| Back to top |
|
 |
A7V Contributor
Joined: 18 Jun 2004 Posts: 53 Location: Lisbon, Portugal
|
Posted: Thu Aug 05, 2004 6:07 pm Post subject: |
|
|
From your previous post I got the idea that it would be possible (I'd love that) to apply test templates to devices, and not graphs as you mention in your last post. Graph templates I know how to use, but since we were talking about Maximum Speed in a Test , not in a Graph who's confused?
You did not comment the 10M and 100M diference in In and Out. I suppose 100M is the correct one. Which (again) leads me to another question: since the oid is read in bytes and the Maximum is defined in bits, is NetMRG taking this into account? Haven't parsed the sourcecode yet  |
|
| Back to top |
|
 |
silfreed Site Admin
Joined: 19 Jan 2003 Posts: 394 Location: Shippensburg, PA, USA
|
Posted: Thu Aug 05, 2004 6:26 pm Post subject: |
|
|
How about this - the maximums defined are just *wrong* ;)
The 10M/100M is probably just a typo, and you're right, the stuff is in bytes, not bits anyway.
And just to get some terminology correct between us:
Tests: the oids, sql queries, or scripts executed (the items under the 'Tests' menu)
Monitors: Data gathered using Tests; these *do* have little example graphs
Graphs: Template or Custom, but are usually made up of more than one monitor. Only graphs can be attached to views.
If you have any idea on how to make this terminology more clear in NetMRG, please let us know.
-Doug |
|
| Back to top |
|
 |
|