[mrtg] bytes v/s bits

John "JB" Barbieri jdbarbieri at metrocast.net
Mon Oct 27 16:04:57 CET 2008


To get rid of bits, get rid of it in the options line:

Options[_]: growright

That will change it to bytes.

Georges Touma wrote:
>
> Hello List,
>
>  
>
> We are facing an issue with MRTG where the Bandwidth utilization on
> the polled equipment is showing in bits instead of bytes.
>
>  
>
> Below is the header of mrtg.cfg file  (Options[_]:bits is set):
>
> ===========
>
> EnableIPv6: no
>
> WorkDir: /rddbs/
>
> Options[_]: bits,growright
>
> RunAsDaemon: Yes
>
> LogFormat: rrdtool
>
> PathAdd: /data/rrdtool-1.2.19/bin
>
> LibAdd: /data/rrdtool-1.2.19/lib/perl
>
> Forks: 4
>
> ===========
>
>  
>
>  
>
> I tried to set the option under the monitored interfaces themselves
> but this did not help.
>
> ===========
>
> ##### Customer: tools
>
> ## x.x.x.x - Interface 3
>
>  
>
> Target[mytools_my-router-1_3.interfacegigabitethernet0-0]: 3:public@
> x.x.x.x
>
> MaxBytes[mytools_my-router-1_3.interfacegigabitethernet0-0]: 12500000
>
> Title[mytools_my-router-1_3.interfacegigabitethernet0-0]: Traffic
> Analysis for mytools x.x.x.x 3
>
> Options[_]: bits,growright
>
> ===========
>
>  
>
> I also found a post where setting the 64 bit counters helped but it
> did not work for me even though my equipment supports 64 bit counters.
>
> =============
>
> Target[mytools_my-router-1_3.interfacegigabitethernet0-0]: 3:public@
> x.x.x.x*:::::2*
>
> =============
>
>  
>
> Any ideas/suggestions are highly appreciated.
>
>  
>
> Best regards,
>
> ---
> *Georges Touma*
> System and Network Specialist
> NavLink
> |:     http://www.navlink.com <http://www.navlink.com/>
>
> |*    georges.touma at navlink.com <mailto:georges.touma at navlink.com>
>
> |(    +966 1  4522647
>
> |*(*  +966 50 3310725
>
>  
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081027/64595160/attachment.html 


More information about the mrtg mailing list