[collectd] TroubleShooting Exec Plugins

Florian Forster octo at verplant.org
Fri Jan 16 15:07:46 CET 2009


Hi Richard,

On Thu, Jan 15, 2009 at 06:16:57PM -0600, Richard Shade wrote:
> Is there a way to troubleshoot the communication between the exec
> plugin and the collectd process. We are getting intermittent outages
> between the two, and nothing seems to appear in the logfile.

if you set the log level to `debug' (you need to configure with
--enable-debug to do that), you should see debugging messages as
collectd enters the `handle_putval' function which parses the lines
received by the executed application/script (along with the data that
was actually received).

If you want to report errors from within the application/script, you can
do so by writing to STDERR. (Maybe that's only in 4.5, I'm not sure.)

Does that help?
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/20090116/6c8d9f05/attachment.pgp 


More information about the collectd mailing list