[collectd] collectd for dreambox/mipsel
Florian Forster
octo at verplant.org
Thu Dec 17 21:48:57 CET 2009
Hi Michael,
On Thu, Dec 17, 2009 at 07:11:41PM +0100, Michael Markstaller wrote:
> I tried to cross-compile collectd for my dreambox (DVB-receiver
> mipsel).
hehe, sounds cool :)
> --- cut ---
> root at dm8000:~# collectd -f
> --- cut ---
> runs, simply stays there, no errors, no nothing
I assume no CSV files are generated in /tmp/csv/? Because if everything
works okay, collectd will not output anything. Except debugging is
enabled (see below).
Some things to try:
* Run `strace' in a second terminal to find out what syscalls collectd
is using. I usually use:
$ strace -ttt -s 128 -p <pid of collectd>
* Run `lsof' to find out what files and sockets collectd did open.
For example:
$ lsof -p <pid of collectd>
> - --with-fp-layout=nothing/endianflip/intswap
“nothing” should be the right option for MIPSEL (according to the Debian
MIPSEL build logs).
> <Plugin logfile>
> LogLevel "debug"
> File STDOUT
> </Plugin>
To actually get the debugging output to work, you have to (re-)configure
with “--enable-debug”. Otherwise, all debugging messages are optimized
away …
Regards,
—octo
--
Florian octo Forster
Hacker in training
GnuPG: 0x91523C3D
http://verplant.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20091217/485756bf/attachment.pgp
More information about the collectd
mailing list