[ntp:questions] NTP MRTG graphs?

David L. Mills mills at udel.edu
Fri Jul 27 20:02:12 UTC 2007


The graphs produced by me and shown on web pages and in my book use 
MatLab programs. I am happy to share those for folks who have that 
product, which is endemic to just about every engineering department in 
the country.


Pete Stephenson wrote:

> I've been interested in using MRTG (or a similar graphing utility) to 
> graph various properties of my time server like the offset, jitter, 
> frequency, number of unique users, number of abusive users, etc.
> I was reviewing David Taylor's page at 
> http://www.david-taylor.myby.co.uk/ntp/NTPandMRTG.txt and it's been most 
> helpful.
> However, I also see that there are several other public time servers 
> that are generating quite detailed graphs and I was wondering if anyone 
> would be willing to share the scripts used to get the numerical data 
> from NTP, format it into a way that MRTG can interpret, and the MRTG 
> config files needed to analyze and graph it.
> Since MRTG only deals with integers, it rounds (or truncates, not 100% 
> sure) decimal values to the closest integer. This isn't terribly useful, 
> as I'd like to see some of the finer changes over time. I attempted to 
> multiply all the decimal values by 1000 and have MRTG work with those, 
> and this has met with some success, but I'd much rather have the graphs 
> show something in a reasonable scale (like 0-20ms offset, rather than 
> 0-20,000us). Obviously this can be done, as I've seen graphs for NTP 
> servers made this way, but I'm getting a headache wrangling (and 
> failing) with MRTG to get it right.
> Cheers!

More information about the questions mailing list