From: Michael R. <re...@eu...> - 2004-04-08 11:44:04
|
Hi Barry, > Hi, I'm using LCD4Linux (from CVS) on my firewall, and enjoy the network > graphs on my CF 634. Fine! > However, I notice the graphs will auto-scale to larger speeds, but then > they never scale back down. Correct. This "works as designed" :-) > Desired behavior(s): > > 1. Auto-downscaling. e.g. decrement the max over time so the graphs > auto-shrink in scale, so smaller rates begin showing up on the graph again. Well , I may think about it... Or even bvetter, you will provide a patch. And I want this stuff to be configurable :-) > 2. I have a 3com OfficeConnect 10/100 hub which has (roughly) a > logarithmic utilization scale: > 0.1 - 1.0% 2% 3% 6% 12% 25% 50% 80% > I think it would be helpful if the netgraphs could be scaled this way. That's what the evaluator is for. Just replace your expression netdev(something) with expression (ln(netdev()) or expression (log(netdev()) There's no need for scaling it afterwards, because here the auto-scale becomes handy :-) > 3. My internet connection is a cable modem... 3000kbps IN, 256kbps OUT; > I'd like the outgoing part of the graph to scale correctly to 256kbps... > perhaps that could be a configuration specification, or maybe it could > be achieved though auto shrinking too. Patches are welcome :-) But I think this is already implemented.... autoscale is only used if no min/max values are specified... because there are cases where autoscale doesn't make too much sense (especially if the lower limit is not zero, e.g. a temperature sensor) > I'm willing to work on at least 1 & 2 myself, however I haven't been able to figure out where in the code the scaling or tracking of the max values is being done. > Can someone fill me in on this? it's in widget_bar.c, function widget_bar_update() bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |