[mrtg] Re: 14all 'daily.s' sort order

Rainer Bawidamann rainer at bawidamann.de
Sun Sep 2 18:15:32 MEST 2001


Hi David!

> Has anybody changed the 14all script to sort the 'daily.s' graphs in
> alphabetical order using the title parameter.
> 
> Currently the graphs are listed in the same order they are listed in the
> config.

I don't know of such a patch. But it is simple: Edit the lines that look like

      foreach my $tar (@xxx) ...

(only the lines that have "foreach my $tar" exactly) and change the text
"(@xxx)" (where xxx changes) to "(sort @xxx)".

Rainer

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list