[collectd] collectd-3.7.1 compile error, et. al.

Werner Heuser Werner.Heuser at web.de
Fri Feb 17 21:34:26 CET 2006


Hello,

collectd is great, I am using the Debian package. But I have
encountered some problems:

- I am interested very much in the new battery plugin, because
  currently there is no other tool capable to make nice
  battery stats (except batterystats, but this is for old
  APM based laptops only). But in /var/lib/collectd
  I can't find a rrd file for the battery. 
  LoadPlugin battery in /etc/collectd.conf is set.

- I wondered whether the battery plugin is based
  on the old APM standard or newer ACPI and how many
  batteries does it handle. Alright battery.c does only
  show ACPI and PMU and handles multiple batteries apparently.
  Therefore this should be made clear in the man page. 

- So I decided to get the Debian source package und check
  whether the battery plugin is compiled into it. But
  running `make' shows:

libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries
network.c:47: error: static declaration of 'operating_mode' follows non-static declaration
collectd.h:203: error: previous declaration of 'operating_mode' was here
make[3]: *** [collectd-network.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1

# gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.0.3 20060128 (prerelease) (Debian 4.0.2-8)

- the temperature file in the contrib directory has an entry:
  FILE="/var/lib/collectd/sensors-w83697hf-temp1.rrd"
  This name scheme prevents it to run with its default 
  rrd file.

BTW: does rrdtool provide a way to draw ASCII graphs? I checked
the docs as well as Google but didn't find an answer.

	Thank you

	Werner

-- 
|=| Werner Heuser = Berliner Str. 122 = D-13187 Berlin = Germany
|=| <wehe at tuxmobil.org>     T. 0049 - (0)30 - 349 53 86
|=| http://TuxMobil.org        UniX on Mobile Systems: HOWTOs,Software
|*| This is no time for phony rhetoric -- Lou Reed



More information about the Collectd mailing list