[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[altq 292] Re: cbqmonitor - Naming classes?
Karl Pielorz wrote:
> I started the cbqmonitor program the other day, and typed a "?" into the same
> screen I started it from, at which point I'm shown a _huge_ list of options...
>
> I don't know much about cbqmonitor, or ttt (which it's based on) - but does
> anyone here know if there is anyway either to get:
>
> AltQ to talk to CBQMonitor and exchange "class names" for display on the
> graph? (instead of "Class 0", "Class 1" etc.
A framework for it is implemented in altq-2.1 and altqstat use it.
But I haven't had time to do it for cbqmonitor (and to make cbqmonitor
discipline independent).
> Or, alternatively - any easy way of telling CBQMonitor what to display for
> each classes legend, e.g. replace "Class 0" with "Generic HTTP" or something?
You can feed your cbq config file to cbqmonitor with "-config <file>".
cbqmonitor just replaces class names in the order appeared in the
config file (with some internal knowledge).
> If theres anywhere I can read upon and someone wants to point me in the right
> way, I'll gladly try to 'DIY' the solution... :)
source code :)
-Kenjiro