[collectd] Re: collectd-3.7.1 compile error, digest <et.al.>
Werner Heuser
Werner.Heuser at web.de
Sun Feb 19 09:18:13 CET 2006
Hello Sebastian,
> That is really strange. The only difference between yours and mine is the name
> of the battery (mine is BAT1) which should make absolutely no difference. I
> have no idea, why this works for me but does not work for you... Are you
> really sure that you've set up everything correctly?
there should be no problem with different battery numbers, because
the battery states are fetched from a generic routine not depending
on the number (I like this kind of programming, but I have to admit
that I am not much skilled in C programming).
> Would you please send me the output of something like "strace
> /usr/sbin/collectd -C /etc/collectd.conf -f 2>&1 | grep -i bat"?
...
$ strace /usr/sbin/collectd -C /etc/collectd.conf -f 2>&1 | grep -i bat
read(6, "4599 (battstat-applet) S 1 4502 "..., 1024) = 195
read(6, "4599 (battstat-applet) S 1 4502 "..., 1024) = 195
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