[mrtg] Re: NTP with negativ drift

Daniel J McDonald dan.mcdonald at austinenergy.com
Tue Sep 27 16:30:25 MEST 2005


On Tue, 2005-09-27 at 07:55 +0200, Schlupkothen, Guido wrote:

> ||> is it possible to plot a negativ drift for the standard NTP-
> ||> application with mrtg/rrdtool ?
> ||
> |http://www.david-taylor.myby.co.uk/ntp/NTPandMRTG.txt
> |
> |it works fine for me.
> 
> 
> Hi Takumi,
> 
> thanks for your support but that´s not the way I want to plot 
> my results.
> With your version it´s only possible to plot positive values.
> 
> I think it will be possible to plot a negative value with the 
> rrdtool, so that the y-achis has a range i.e. from +5 to -5.


Yes, you have to tune your rrdfile.  Once it is created, just do:

rrdtool tune -i DS0:-5 -i DS1:-5 /path/to/the/rrdfile.rrd

That will lower the minimum from 0 to -5.

I really should hack up that chunk of code to deal with minimums so that
it will create the rrd's correctly the first time.  It's not hard, and
it would be a help when I monitor RSSI on various wireless devices.

-- 
Daniel J McDonald, CCIE # 2495, CNX, CISSP # 78281
Austin Energy

dan.mcdonald at austinenergy.com

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



More information about the mrtg mailing list