[mrtg] Re: bytes versus bits for the scale of the graphs

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Nov 22 11:56:42 MET 1999


Rainer Bawidamann wrote:
> 
> In article <199911212228.XAA13006 at slot.hollandcasino.nl>,
> 	alex at slot.hollandcasino.nl (Alex van den Bogaerdt) writes:
> 
> > and it doesn't seem to work, change the [_] into [^].
> 
> Looks like I have to change my parser _again_ to be compatible ...
> *args*
> 

Originally, MRTG knew of [^] and [$] to prepend/append options on a
global basis.  Later on, [_] was invented to allow setting a default.

Personally I never used [_] but by my definition a default is something
that can be overriden by an explicit definition.

   Options[^]: blah1
   Options[ethernet.1]: something
   Options[$]: blah2

should result in a total option line of "blah1 something blah2" whereas

   Options[_]: blah1
   Options[ethernet.1]: something
   Options[$]: blah2

should result in "something blah2".  If you'd use the [_] to define
"bits", you might loose.

Again: this is just how *I* parsed the FM.  I may be wrong and you'd
better check it for yourself.

Regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+

--
* To unsubscribe from the mrtg mailing list, send a message with the
  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg


More information about the mrtg mailing list