Package: collectd
Version: 5.1.0-3
Severity: normal

Hi Sebastian!

I first thought this to be a duplicate of bug #657122, but I applied the
configuration change in there.

The df plugin is producing lots of log messages like even after fresh
install on two VMware ESX hosted virtual machines:

Jun  1 12:17:53 somehost collectd[29921]: Initialization complete, entering 
read-loop.
Jun  1 12:17:53 somehost collectd[29921]: battery plugin: Failed to access 
`/proc/acpi/battery': No such file or directory
Jun  1 12:17:53 somehost collectd[29921]: rrdtool plugin: Adjusting 
"RandomTimeout" to 0.000 seconds.
Jun  1 12:17:53 somehost collectd[29921]: rrdtool plugin: rrd_update_r 
(/var/lib/collectd/rrd/somehost/df-root/df_complex-free.rrd) failed: 
/var/lib/collectd/rrd/somehost/df-root/df_complex-free.rrd: illegal attempt to 
update using time 1370081873 when last update time is 1370081873 (minimum one 
second step)
Jun  1 12:17:53 somehost collectd[29921]: rrdtool plugin: rrd_update_r 
(/var/lib/collectd/rrd/somehost/df-root/df_complex-reserved.rrd) failed: 
/var/lib/collectd/rrd/somehost/df-root/df_complex-reserved.rrd: illegal attempt 
to update using time 1370081873 when last update time is 1370081873 (minimum 
one second step)
Jun  1 12:17:53 somehost collectd[29921]: rrdtool plugin: rrd_update_r 
(/var/lib/collectd/rrd/somehost/df-root/df_complex-used.rrd) failed: 
/var/lib/collectd/rrd/somehost/df-root/df_complex-used.rrd: illegal attempt to 
update using time 1370081873 when last update time is 1370081873 (minimum one 
second step)
Jun  1 12:18:03 somehost collectd[29921]: rrdtool plugin: rrd_update_r 
(/var/lib/collectd/rrd/somehost/df-root/df_complex-free.rrd) failed: 
/var/lib/collectd/rrd/somehost/df-root/df_complex-free.rrd: illegal attempt to 
update using time 1370081883 when last update time is 1370081883 (minimum one 
second step)
Jun  1 12:18:03 somehost collectd[29921]: rrdtool plugin: rrd_update_r 
(/var/lib/collectd/rrd/somehost/df-root/df_complex-reserved.rrd) failed: 
/var/lib/collectd/rrd/somehost/df-root/df_complex-reserved.rrd: illegal attempt 
to update using time 1370081883 when last update time is 1370081883 (minimum 
one second step)
Jun  1 12:18:03 somehost collectd[29921]: rrdtool plugin: rrd_update_r 
(/var/lib/collectd/rrd/somehost/df-root/df_complex-used.rrd) failed: 
/var/lib/collectd/rrd/somehost/df-root/df_complex-used.rrd: illegal attempt to 
update using time 1370081883 when last update time is 1370081883 (minimum one 
second step)


To do a clear reproducer I have re-installed collectd from scratch with
clean configuration. On using reportbug I found bug #657122, but these
messages also appear when I apply the suggested configuration change:

=== modified file 'collectd/collectd.conf'
--- collectd/collectd.conf      2013-06-01 10:15:00 +0000
+++ collectd/collectd.conf      2013-06-01 10:16:04 +0000
@@ -290,6 +290,18 @@
 #      Device "192.168.0.2:/mnt/nfs"
 #      MountPoint "/home"
 #      FSType "ext3"
+       # ignore rootfs; else, the root file-system would appear twice, causing
+       # one of the updates to fail and spam the log
+       FSType rootfs
+       # ignore the usual virtual / temporary file-systems
+       FSType sysfs
+       FSType proc
+       FSType devtmpfs
+       FSType devpts
+       FSType tmpfs
+       FSType fusectl
+       FSType cgroup
+       IgnoreSelected true
 #      IgnoreSelected false
 #      ReportByDevice false
 #      ReportReserved false


My mounts are:

somehost:~> cat /proc/mounts
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=10240k,nr_inodes=30491,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,noexec,relatime,size=25452k,mode=755 0 0
/dev/mapper/somevg-debian / ext4 
rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
tmpfs /run/shm tmpfs rw,nosuid,nodev,noexec,relatime,size=50880k 0 0
/dev/sda1 /boot ext3 rw,relatime,errors=continue,barrier=1,data=ordered 0 0
/dev/mapper/somevg-var /var ext4 
rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/mapper/somevg-varlog /var/log ext4 
rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/mapper/somevg-home /home ext4 
rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
/dev/mapper/somevg-srv /srv ext4 
rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0


ntp is up and running timesync with hypervisor is disabled:

somehost:> LANG=C vmware-toolbox-cmd timesync status
Disabled
somehost:~#69>


For know I think I just disable the df plugin.

Thanks,
Martin

-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages collectd depends on:
ii  collectd-core  5.1.0-3
ii  iptables       1.4.14-3.1
ii  libc6          2.13-38
ii  librrd4        1.4.7-2

Versions of packages collectd recommends:
ii  libc6               2.13-38
pn  libcurl3-gnutls     <none>
ii  libdbi1             0.8.4-6
ii  libdbus-1-3         1.6.8-1
pn  libesmtp6           <none>
ii  libgcrypt11         1.5.0-5
ii  libgdk-pixbuf2.0-0  2.26.1-1
ii  libglib2.0-0        2.33.12+really2.32.4-5
pn  libhal1             <none>
pn  libmemcached10      <none>
pn  libmodbus5          <none>
ii  libmysqlclient18    5.5.31+dfsg-0+wheezy1
pn  libnotify4          <none>
pn  libopenipmi0        <none>
pn  liboping0           <none>
ii  libpcap0.8          1.3.0-1
ii  libperl5.14         5.14.2-21
ii  libpq5              9.1.9-1
pn  libprotobuf-c0      <none>
pn  libpython2.7        <none>
pn  librabbitmq0        <none>
ii  librrd4             1.4.7-2
pn  libsensors4         <none>
pn  libsnmp15           <none>
ii  libssl1.0.0         1.0.1e-2
pn  libtokyotyrant3     <none>
pn  libupsclient1       <none>
pn  libvarnishapi1      <none>
pn  libvirt0            <none>
ii  libxml2             2.8.0+dfsg1-7+nmu1
pn  libyajl2            <none>

collectd suggests no packages.

-- Configuration Files:
/etc/collectd/collectd.conf changed:
FQDNLookup true
LoadPlugin syslog
<Plugin syslog>
        LogLevel info
</Plugin>
LoadPlugin battery
LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin entropy
LoadPlugin interface
LoadPlugin irq
LoadPlugin load
LoadPlugin memory
LoadPlugin processes
LoadPlugin rrdtool
LoadPlugin swap
LoadPlugin users
        # ignore rootfs; else, the root file-system would appear twice, causing
        # one of the updates to fail and spam the log
        FSType rootfs
        # ignore the usual virtual / temporary file-systems
        FSType sysfs
        FSType proc
        FSType devtmpfs
        FSType devpts
        FSType tmpfs
        FSType fusectl
        FSType cgroup
        IgnoreSelected true
<Plugin rrdtool>
        DataDir "/var/lib/collectd/rrd"
</Plugin>
Include "/etc/collectd/filters.conf"
Include "/etc/collectd/thresholds.conf"


-- debconf information:
  collectd/auto-migrate-3-4: false
  collectd/migration-3-4:


-- 
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