[collectd] collectd exec and perl

Florian Forster octo at collectd.org
Thu Oct 28 13:10:44 CEST 2010


Hi,

On Thu, Oct 28, 2010 at 12:07:03PM +0200, Mariusz Gronczewski wrote:
> if u use "interval" you have to use actual time instead of "N:" (at
> least it didn't want to work otherwise for me)

no, you should be able to mix "interval=" and "N:" as you wish.

> If it still dont work, turn off input buffering
> $| = 1;

If you use "N:", you *have* to disable output buffering. Please see [0]
for details.

Regards,
—octo

[0] <http://collectd.org/wiki/index.php/Plugin:Exec#Output_buffering>
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x0C705A15
http://octo.it/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20101028/d0316968/attachment.pgp>


More information about the collectd mailing list