You could add 15 to to the returned value. That way you aren't dealing with a negative value. -----Original Message----- >From: "Simon Westlake" <[EMAIL PROTECTED]> >Sent: 11/5/03 12:06:34 PM >To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >Subject: [mrtg] Graphing negative values.. again > >Still working on it.. > >To recap, I'm graphing a value which fluctuates from about -15 to +15. I set the maxvalue to 50. > >When the data was coming in, MRTG was not displaying anything below 0. It would graph values above 0. > >I tried the following command to 'tune' the rrd files: > >rrdtool tune */*.*.*.*+b.rrd -i ds0:-50 -a ds1:50 > >My rrd files that contain the information are in this format: ipaddress+b.rrd. > >This didn't appear to do anything, so I tried it specifying a file rather than using *.*.*.* - this provided some interesting results. > >The graph still begins at 0 but its graphing a line BELOW the beginning of the graph. Below is exactly what is displayed. > >Max dB -9.4 dB Average dB dB Current dB dB >Max dB -9.2 dB Average dB -9.4 dB Current dB dB > > >As you can see, some things are being filled in while others are not. (I'm graphing the same OID twice.) > >Anyone have any ideas? I've tried deleting the .png files and having them regenerated, same problem. Note that only the file I specified by name works - when I did *.*.*.*+b.rrd I still get no data for anything below 0. > >- Simon Westlake >- Road Runner Network Specialist >- [414 688 7956] >- [AIM: swestlake1320] > > >-- >Unsubscribe mailto:[EMAIL PROTECTED] >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
-- Binary/unsupported file stripped by Ecartis -- -- Err : No filename to use for decode, file stripped. -- Type: application/ms-tnef -- Unsubscribe mailto:[EMAIL PROTECTED] 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
