[collectd] Another ntpd problem

Luboš Staněk lubek at users.sourceforge.net
Mon Nov 6 22:03:56 CET 2006


Hi Florian,
the ntpd plugin needs limits checking with received parameters.

Have a look at this:
     remote           refid      st t when poll reach   delay   offset
jitter
==============================================================================
 lx.ujf.cas.cz   .INIT.          16 u    - 1024    0    0.000    0.000
4000.00

     remote           local      st poll reach  delay   offset    disp
=======================================================================
=lx.ujf.cas.cz   192.168.0.1     16 1024    0 0.00000  0.000000 0.00000


The reason is simple. The server does not response to time requests.
Either it is down or the user has wrongly set his firewall or the subnet
is cut down.

So the plugin should not try to collect server whose refid is "INIT" and
the rest of fields is zero(?).

And the collectd is permanently dying on this:
Nov  6 21:14:05 test1 collectd[29258]: rrd_update failed:
ntpd/time_offset-lx.ujf.cas.cz.rrd: illegal attempt to update using time
1162844044 when last update time is 1162844044 (minimum one second step)
Nov  6 21:14:05 test1 collectd[29258]: rrd_update failed:
ntpd/time_dispersion-lx.ujf.cas.cz.rrd: illegal attempt to update using
time 1162844044 when last update time is 1162844044 (minimum one second
step)
Nov  6 21:14:05 test1 collectd[29258]: rrd_update failed:
ntpd/delay-lx.ujf.cas.cz.rrd: illegal attempt to update using time
1162844044 when last update time is 1162844044 (minimum one second step)
....

Best regards,
Lubos



More information about the collectd mailing list