These are the charts I have running right now: http://godzilla.empire.org:20359/ntpv2.html http://godzilla.empire.org:20359/ntp.html
But they are the kind generated with MRTG. I like the look and feel of the charts created with RRD, I'm just lacking the setup/howto information to get those types of charts running. I already have rrdtool installed and got "some" test samples running to create the .rrd file, but then failed in getting that converted into the .png charts. I got some type of "can't create .png file" error message. So I guess all I'm looking for are the command line codes to get offset data to create the .rrd file and then the same command line code to convert it to .png so it can be put into my /var/www/ directory for http viewing. -Alby On Fri, Jun 21, 2013 at 6:33 AM, Fabian Wenk <[email protected]> wrote: > Hello Maarten > > On 20.06.2013 20:37, Maarten Deen wrote: > >> On 2013-06-20 07:42, AlbyVA wrote: >> >>> I've been running MRTG to create graphs of my NTP offsets, along >>> with other stats on bandwidth and system load. >>> >> > These are the commands I used to get NTP stats from the system >> (ubuntu). I'll send the complete script off-list, but this for sake of >> comments (maybe I'm completely off here) >> >> RECV=`ntpdc -c iostats |grep 'received packets' | awk '{ print $3 } '` >> SENT=`ntpdc -c iostats |grep 'packets sent' | awk '{ print $3 } '` >> > > This two lines look quite familiar to me. ;) > > But AlbyVA was asking to graph offsets of the time difference to peers. > But your above command lines get the received and sent packets of the ntpd. > This helps to see how many requests have been answered from the ntpd. I use > it to generate [1] with MRTG. For other stuff I use collectd, which also > can graph ntpd offset, see [2] (also the outage from the DCF77 signal from > Mainflingen / Frankfurt from last night is visible). > > Unfortunately on the FreeBSD system the offset data collection for ntpd > does not properly work, see [3] and [4]. Other data collection with > collectd on FreeBSD are working just fine. I did not yet find the cause > with ntpd, as the configurations are identical to goliath (the Linux > system) where it is working properly. On FreeBSD it was working once, but a > few updates later it failed and I did not realize in time to be able to > check which update caused it. > > [1] http://www.home4u.ch/ntp/ > [2] > http://batman.home4u.ch/cgp/**host.php?h=goliath.home4u.ch&**p=ntpd<http://batman.home4u.ch/cgp/host.php?h=goliath.home4u.ch&p=ntpd> > [3] > http://batman.home4u.ch/cgp/**host.php?h=batman.home4u.ch&p=**ntpd<http://batman.home4u.ch/cgp/host.php?h=batman.home4u.ch&p=ntpd> > [4] > http://batman.home4u.ch/cgp/**host.php?h=superman.wenks.ch&**p=ntpd<http://batman.home4u.ch/cgp/host.php?h=superman.wenks.ch&p=ntpd> > > > bye > Fabian > ______________________________**_________________ > pool mailing list > [email protected] > http://lists.ntp.org/listinfo/**pool <http://lists.ntp.org/listinfo/pool> >
_______________________________________________ pool mailing list [email protected] http://lists.ntp.org/listinfo/pool
