[mrtg] bytes v/s bits

Georges Touma georges.touma at navlink.com
Mon Nov 3 09:20:24 CET 2008

Dear Steve, 

Thank you very much for valuable and continuous assistance.
I modified the graphing command and added "CDEF:ds18=ds1,8,*" and now I am
graphing "ds18" instead of "ds1". It seems it is working fine now.

Best Regards,
Georges Touma

-----Original Message-----
From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] 
Sent: Monday, November 03, 2008 12:05 AM
To: 'Georges Touma'; 'mrtg at lists.oetiker.ch'
Subject: RE: [mrtg] bytes v/s bits

> Thank you very much for all you help and replies.
> I checked the perl script we are using to graph the rrddb. It actually
> uses the "rrdtool graph" function. Any idea why the multiplication is not
> taking place eventhough the bits option is set in mrtg.cfg file?

Because you haven't told it to.  If you are calling RRDtool directly, then
it is up to you to give ALL the display instructions.  RRDtool does not read
or even know about the MRTG configuration file, so it is not aware of any of
your display options (such as 'options: bits').  All it knows about is the
RRD configuration and the data within it.

If you want a frontend that is aware of the MRTG display options, then you
need to use 14all, mrtg-rrd or Routers2 to call the RRDtool library


More information about the mrtg mailing list