[mrtg] mrtg-questions

nangineni praneeth nv_2030 at yahoo.com
Mon Dec 8 20:26:22 CET 2008

Thank you very much....That certains does explain that it requires the max bytes option when its polling counters like cpu load etc to calculate the percentages. In mrtg-ping-probe its mentioned like this 

 "we   set the max bytes to a value in ms that we consider normal for an unused link so that  the percent values show how much you are off when the line is used heavily"

..just want a good answer so that my prof cannot catch me on that:p........

"More than likely, inbound latency and outbound latency, but you would
need to check the mrtg-ping-probe file to make certain".yes i did check the mrtg-ping-probe file.......it says any script should return four lines of output 
         1 ) current state of the first variable, normally 'incoming bytes count'
          2)  current state of the second variable, normally 'outgoing bytes count'
But since its rtt i am unable to link this bytes count to ms.....


--- On Mon, 12/8/08, Daniel J McDonald <dan.mcdonald at austinenergy.com> wrote:
From: Daniel J McDonald <dan.mcdonald at austinenergy.com>
Subject: Re: [mrtg] mrtg-questions
To: mrtg at lists.oetiker.ch
Date: Monday, December 8, 2008, 11:40 PM

On Mon, 2008-12-08 at 09:51 -0800, nangineni praneeth wrote:

> Hello everyone
>                            I am working on a project titled network
> monitoring and would like to add few details in my documentation...I
> searched for these question over the web but couldnt find anything....
> 1)  Why are we specifying max bytes when we are using MRTG to monitor
> rtt, packetloss,cpuload etc?.I mean rtt or other variables like
> packetloss have nothing to do with max bytes....

It's called MaxBytes because mrtg was originally designed to monitor
traffic, and non-backward compatible changes are hugely frowned upon.

> I know that MRTG requires that options but couldnt figure out why??

For counters, it needs to know the max so it can detect counter
roll-overs.  For non-counters, it needs to know the max so it can
determine percentage correctly.

> Would be grateful if someone could answer how max bytes option is
> related to these variables

It's the maximum value expected to be present.

> 2)options [:]:integer.......what does this option....The mrtg website
> says "Print summary lines below graph as integers without
> commas"....was little confused by this...can anyone clearly tell me
> what this option does...

I think that removes the k/m/g suffixes, but I haven't played with
rateup in a while, so I don't recall.

> 3) I can monitor rtt and packet loss with MRTG by making use of
> mrtg-ping-probe....
>    I did the following from cmd
> c:/mrtg/bin/>perl mrtg -ping -probe and it returned me two
> values 
>  47
>  48 

More than likely, inbound latency and outbound latency, but you would
need to check the mrtg-ping-probe file to make certain.

> what does these two values represent......are these two values
> representing the incoming bytes counT and external bytes count...again
> why am i speaking in terms of bytes count when monitoring ping and
> rtt...
> I know these are lot of questions....But since i am working on this
> project i must be able to answer these questions.........tried lots on
> the web but couldnt find answers for these
> Would be really thankful if someone helps me out
> Regards
> Venkat.....

Dan McDonald, CCIE #2495, CISSP# 78281, CNX

mrtg mailing list
mrtg at lists.oetiker.ch

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081208/b0cb8884/attachment.html 

More information about the mrtg mailing list