[mrtg] Re: Example of graph not generating correctly below 0

Simon Westlake simon.westlake at bizwi.rr.com
Wed Jan 7 16:03:17 MET 2004


>On Wed, Jan 07, 2004 at 08:38:03AM -0600, Simon Westlake wrote:
>> By tuning the .rrd files, I can get MRTG to display current, avg and max
>> negative values. However, the graphs are still not generated properly.
>> Here is an example.
>> 
>
><80 chars line length please, thank you.
>
>> http://24.123.87.13/img/misgraphed.png
>> 
>> This is a value of -3.7.
>
>Are you *sure* about this?  No offence, but most errors turn out to
>be configuration issues.  Your problem could be that you are displaying
>-0.37 dB ...  or you aren't using GAUGE where you should use it.
>

Well, below the graph MRTG says 'Current: -3.7dB' so I'm assuming it's graphing
the same value it's displaying as current. The value is actually returned as -37, I'm
dividing by 10. Is there a reason MRTG would graph a value other than what it
displays as current?

I'm using gauge - here's a quick example of the important parts of configuration file 
that's pulling the data.

Options[target]: growright,nobanner,nolegend,nopercent,gauge
Unscaled[target]: dwmy
Maxbytes[target]: 60
Target[target]: downstreamOID&downstreamOID:snmpkey at target / 10

The data is being pulled from a cable modem. The reason I didn't think it was
an .rrd issue is that MRTG is displaying, correctly, avg, current and max
values. 


--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list