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 wink
Now I have a lot of interfaces to change the Maximum Value shock
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.
I understand the point of defining maximum values, we use it on our current mrtg (old) implementation. I'm with you on that D
But looking at the templates I found the following values
Interface Bytes In Maximum Value [bb033951aeb]10[/bb033951aeb].000.000 roll
Interface Bytes Out Maximum Value [bb033951aeb]100[/bb033951aeb].000.000
[quoteb033951aeb]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. [/quoteb033951aeb]
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?
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.
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? shock
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 wink
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.