[mrtg] bytes v/s bits

Steve Shipway s.shipway at auckland.ac.nz
Sun Nov 2 22:04:48 CET 2008


> 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 functions.

Steve



More information about the mrtg mailing list