[collectd] [PATCH] exec-plugin with stdout and stderr separated
Peter Holik
peter at holik.at
Tue Apr 1 16:12:10 CEST 2008
Hi!
Digitemp sends errors to stderr, but collectd handles stdout and stderr
as the same and reports parsing errors.
My idea is to seperate stdout and stderr.
I also removed the special pipe handling checking for stdin...
because exec plugin will alway have a fd > 2 for pipes !!
(fd 0,1 and 2 (stdin, stdout, stderr) are used by collectd with /dev/null if demonized)
now strings from stderr will be reportet by ERROR
cu Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exec.c.diff
Type: text/x-diff
Size: 7656 bytes
Desc: not available
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20080401/319147f0/attachment.diff
More information about the collectd
mailing list