[collectd] First time user of collectd 4.2.1: Issue with exec pluggin
jeff nad
jixen10 at hotmail.com
Mon Nov 12 16:13:16 CET 2007
Hi Octo,
I apologize... I did disable all output plugins after testing with default
pluggins. I see the metrics now in csv.
Im not sure to understand correctly how collectd works. If I leave all
output pluggins disabled in client mode, could a remote server node do all
the rrd work ?
We have around 800 nodes and I question myself about the best model to
gather metrics and generate rrd in the a scalable way. Having each server
generate its own rrds locally is interesting, but I would have to rsync that
to a central location afterward. What do you recommend ?
And btw, nice work creating collectd. This really targets the datacenter
needs.
best regards,
Jean-Francois
>From: Florian Forster <octo at verplant.org>
>To: jeff nad <jixen10 at hotmail.com>
>CC: collectd at verplant.org
>Subject: Re: [collectd] First time user of collectd 4.2.1: Issue with exec
>pluggin
>Date: Sat, 10 Nov 2007 11:49:58 +0100
>
>Hi Jeff,
>
>On Fri, Nov 09, 2007 at 02:53:27PM -0500, jeff nad wrote:
> > Im trying to use the exec pluggin to push custom metrics into
> > collectd.
>
>I've tried your sample script and it worked without a problem for me. So
>the script output should be fine.
>
> > My simple test case does not work and nothing is logged to syslog.
>
>Debugging output is disabled at compiletime, unless you use
>``--enable-debug'' when running the configure script. Then you should
>get debugging output like this:
>-- 8< --
> [2007-11-10 10:33:15] exec plugin: exec_read_one:
> buffer = qcaste01/cpu-0/cpu-idle N:2299388
> [2007-11-10 10:33:15] plugin: plugin_dispatch_values:
> time = 1194687195; interval = 10; host = qcaste01; plugin = cpu;
> plugin_instance = 0; type = cpu; type_instance = idle;
>-- >8 --
>
> > This little scripts is run and I expect the metrics to appear under
> > /opt/collectd/var/lib/collectd/qcaste01. Metrics gererated by default
> > pluggins works. I see the shell script being forked and executed.
>
>This sounds very weird and I have no idea what might be the problem
>here.. Could you please re-compile with debugging output and then but a
>couple of lines (500 or so should be sufficient) on a webserver
>somewhere?
>
> > My collectd.conf has only the syslog/logfile/exec pluggins enabled.
>
>Without an output plugin such as `rrdtool' or `csv' nothing will be
>written to disk. But since you say that other metrics are getting
>written I assume you have one of these loaded, too..
>
>Regards,
>-octo
>--
>Florian octo Forster
>Hacker in training
>GnuPG: 0x91523C3D
>http://verplant.org/
><< signature.asc >>
_________________________________________________________________
Express yourself with free Messenger emoticons. Check out
freemessengeremoticons.ca
More information about the collectd
mailing list