Package: collectd
Version: 4.10.1-1+squeeze1
Severity: important
Tags: upstream

Those who do not learn from the past, are bound to repeat the same
errors forever.  collectd does not use UTC.  Yet, it expects to be able
to ignore timezone shifts that happen twice an year on a very very large
number of systems.

It results in this sort of crap:

collectd[2139]: Filter subsystem: Built-in target `write': Dispatching value to 
all write plugins failed with
status -1.
collectd[2139]: uc_update: Value too old:name = <REMOVED>/temperature-temp1; 
value time = 1287260393; last cache update = 1287260393;

being logged to syslog, for an entire hour.  And it obviously inserts a
lot of bogosity in the RRD.

It needs to detect transitions in and out of DST, and do the right
thing.  If it doesn't want to deal with this, it MUST use UTC.

Entering DST (non-UTC wall time goes forward): cleanly skip one hour
(leave a hole in the RRD).

Leaving DST (non-UTC wall time goes backwards): do NOT log to the RRD
either the hour preceding the DST->ST change, or the hour right after
the DST->ST change.   Maybe RRDtool safeties against braindamage will
already enforce this (I didn't test).

And, obviously, log just ONCE to syslog that it is dealing with timezone
shift.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.23 (SMP w/8 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages collectd depends on:
ii  collectd-core          4.10.1-1+squeeze1 statistics collection and monitori
ii  libc6                  2.11.2-6          Embedded GNU C Library: Shared lib
ii  librrd4                1.4.3-1           time-series data storage and displ

Versions of packages collectd recommends:
ii  iptables                    1.4.8-3      administration tools for packet fi
ii  libatk1.0-0                 1.30.0-1     The ATK accessibility toolkit
ii  libc6                       2.11.2-6     Embedded GNU C Library: Shared lib
ii  libcairo2                   1.8.10-6     The Cairo 2D vector graphics libra
ii  libcurl3-gnutls             7.21.0-1     Multi-protocol file transfer libra
ii  libdbi0                     0.8.2-3      Database Independent Abstraction L
ii  libdbus-1-3                 1.2.24-3     simple interprocess messaging syst
ii  libdbus-glib-1-2            0.88-2       simple interprocess messaging syst
ii  libesmtp5                   1.0.4-5      LibESMTP SMTP client library
ii  libfontconfig1              2.8.0-2.1    generic font configuration library
ii  libfreetype6                2.4.2-1      FreeType 2 font engine, shared lib
ii  libgcrypt11                 1.4.5-2      LGPL Crypto library - runtime libr
ii  libglib2.0-0                2.24.2-1     The GLib library of C routines
ii  libgtk2.0-0                 2.20.1-1+b1  The GTK+ graphical user interface 
ii  libhal1                     0.5.14-3     Hardware Abstraction Layer - share
pn  libmemcached5               <none>       (no description available)
ii  libmysqlclient16            5.1.49-1     MySQL database client library
ii  libnotify1 [libnotify1-gtk2 0.5.0-2      sends desktop notifications to a n
pn  libopenipmi0                <none>       (no description available)
pn  liboping0                   <none>       (no description available)
ii  libpango1.0-0               1.28.1-1     Layout and rendering of internatio
ii  libpcap0.8                  1.1.1-2      system interface for user-level pa
ii  libperl5.10                 5.10.1-14    shared Perl library
pn  libpq5                      <none>       (no description available)
pn  libprotobuf-c0              <none>       (no description available)
ii  libpython2.6                2.6.6-3      Shared Python runtime library (ver
ii  librrd4                     1.4.3-1      time-series data storage and displ
ii  libsensors4                 1:3.1.2-6    library to read temperature/voltag
ii  libsnmp15                   5.4.3~dfsg-1 SNMP (Simple Network Management Pr
ii  libssl0.9.8                 0.9.8o-2     SSL shared libraries
pn  libtokyotyrant3             <none>       (no description available)
ii  libupsclient1               2.4.3-1+b1   network UPS tools - client library
ii  libvirt0                    0.8.3-3      library for interfacing with diffe
ii  libxml2                     2.7.7.dfsg-4 GNOME XML library
pn  libyajl1                    <none>       (no description available)

collectd suggests no packages.

-- Configuration Files:
/etc/collectd/collectd.conf changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to