[collectd] Can't write csv or rrd files, only log file

Scott Harris collectd at webhounds.net
Mon Mar 31 15:57:06 CEST 2008



Florian Forster wrote:
> Hi Scott,
> 
> On Sun, Mar 30, 2008 at 09:16:06PM -0700, Scott Harris wrote:
>> The plugins are in /usr/lib64/collectd and the /usr/lib/collectd is
>> just a symlink
> 
> can you please verify, e. g. using `lsof', that the running daemon
> actually has the plugins loaded? If I recall correctly symlinks are
> ignored when looking for plugins.
> 
> If so, you can use the `PluginDir' configuration option to use the
> /usr/lib64/collectd directory directly.
> 


Yup, rrd and csv definitely show up, but never the less, I've
still updated the conf file to avoid possible symlink issues

PluginDir   "/usr/lib64/collectd"

abbreviated version
lsof -p 24701 | egrep "rrd|csv"
collectd 24701 root  mem    REG    8,2   21423 4423827 
/usr/lib64/collectd/csv.so
collectd 24701 root  mem    REG    8,2   47146 4423934 
/usr/lib64/collectd/rrdtool.so
collectd 24701 root  mem    REG    8,2  230032 5963792 
/usr/lib64/librrd_th.so.2.0.10


full version
lsof -p 24701

COMMAND    PID USER   FD   TYPE DEVICE    SIZE    NODE NAME
collectd 13061 root  cwd    DIR    8,2    4096 2097175 /var/lib/collectd
collectd 13061 root  rtd    DIR    8,2    4096       2 /
collectd 13061 root  txt    REG    8,2  328243 3214738 /usr/sbin/collectd
collectd 13061 root  mem    REG    8,2  143960 6979625 
/lib64/libexpat.so.1.5.2
collectd 13061 root  mem    REG    8,2  214152 5964360 
/usr/lib64/libfontconfig.so.1.2.0
collectd 13061 root  mem    REG    8,2  204456 3214229 
/usr/lib64/libpangoft2-1.0.so.0.1800.4
collectd 13061 root  mem    REG    8,2  273256 3214137 
/usr/lib64/libpango-1.0.so.0.1800.4
collectd 13061 root  mem    REG    8,2   43608 3214418 
/usr/lib64/libpangocairo-1.0.so.0.1800.4
collectd 13061 root  mem    REG    8,2  133616 6979595 /lib64/ld-2.7.so
collectd 13061 root  mem    REG    8,2 1717544 6979765 /lib64/libc-2.7.so
collectd 13061 root  mem    REG    8,2  611096 6979766 /lib64/libm-2.7.so
collectd 13061 root  mem    REG    8,2   23288 6979770 /lib64/libdl-2.7.so
collectd 13061 root  mem    REG    8,2  143336 6979789 
/lib64/libpthread-2.7.so
collectd 13061 root  mem    REG    8,2   85904 6979782 /lib64/libz.so.1.2.3
collectd 13061 root  mem    REG    8,2   21936 3234021 
/usr/lib64/libXdmcp.so.6.0.0
collectd 13061 root  mem    REG    8,2   12224 3234020 
/usr/lib64/libXau.so.6.0.0
collectd 13061 root  mem    REG    8,2  587768 3234019 
/usr/lib64/libfreetype.so.6.3.16
collectd 13061 root  mem    REG    8,2  149952 3234016 
/usr/lib64/libpng12.so.0.22.0
collectd 13061 root  mem    REG    8,2    6912 3221992 
/usr/lib64/libxcb-xlib.so.0.0.0
collectd 13061 root  mem    REG    8,2 1066720 3222244 
/usr/lib64/libX11.so.6.2.0
collectd 13061 root  mem    REG    8,2  112536 3221974 
/usr/lib64/libxcb.so.1.0.0
collectd 13061 root  mem    REG    8,2   39344 3224621 
/usr/lib64/libXrender.so.1.3.0
collectd 13061 root  mem    REG    8,2  515568 5963986 
/usr/lib64/libcairo.so.2.11.7
collectd 13061 root  mem    REG    8,2  824320 6979621 
/lib64/libglib-2.0.so.0.1400.6
collectd 13061 root  mem    REG    8,2  267072 6979881 
/lib64/libgobject-2.0.so.0.1400.6
collectd 13061 root  mem    REG    8,2   14256 6979880 
/lib64/libgmodule-2.0.so.0.1400.6
collectd 13061 root  mem    REG    8,2   15758 4423791 
/usr/lib64/collectd/cpu.so
collectd 13061 root  mem    REG    8,2   21423 4423827 
/usr/lib64/collectd/csv.so
collectd 13061 root  mem    REG    8,2   26856 4423904 
/usr/lib64/collectd/hddtemp.so
collectd 13061 root  mem    REG    8,2   17508 4423906 
/usr/lib64/collectd/interface.so
collectd 13061 root  mem    REG    8,2   12357 4423910 
/usr/lib64/collectd/load.so
collectd 13061 root  mem    REG    8,2   19855 4423912 
/usr/lib64/collectd/logfile.so
collectd 13061 root  mem    REG    8,2   14646 4423918 
/usr/lib64/collectd/memory.so
collectd 13061 root  mem    REG    8,2   47146 4423934 
/usr/lib64/collectd/rrdtool.so
collectd 13061 root  mem    REG    8,2  230032 5963792 
/usr/lib64/librrd_th.so.2.0.10
collectd 13061 root  mem    REG    8,2   53816 6979901 
/lib64/libnss_files-2.7.so
collectd 13061 root    0u   CHR  136,1               3 /dev/pts/1
collectd 13061 root    1u   CHR  136,1               3 /dev/pts/1
collectd 13061 root    2u   CHR  136,1               3 /dev/pts/1



More information about the collectd mailing list