[collectd] collectd stopped generating rrdfiles for exec plugins
XANi
xani666 at gmail.com
Thu Jan 14 23:56:57 CET 2010
Dnia 2010-01-14, czw o godzinie 11:51 -0500, Jie Zhang pisze:
> I am using the exec plugin to execute a script that collects the
> read/write ios of 72 block devices. The result of each block device
> will to be saved into a rrdfile.
>
> I have a type "block_device" defined in the types.db file:
> block_device reads:COUNTER:0:4294967295,
> writes:COUNTER:0:4294967295
>
>
> My script output the following:
>
> PUTVAL
> UML-F632/blockDevice-AAS7200_Cell_0_0x50050C24E900BB00_bay0_4:0:7:0/block_device-read_write_ios interval=60 1263485173:8:4
> PUTVAL
> UML-F632/blockDevice-AAS7200_Cell_0_0x50050C24E900BB00_bay1_4:0:4:0/block_device-read_write_ios interval=60 1263485173:5:4
> ......
>
> But no rrd files are created. I set the log level in collectd.conf to
> debug , the following errors are reported in the log file for exec
> plugin:
>
> [2010-01-14 11:40:16] exec plugin: exec failed: No such file or
> directory
> [2010-01-14 11:41:16] exec plugin: exec failed: No such file or
> directory
> [2010-01-14 11:42:16] exec plugin: exec failed: No such file or
> directory
> [2010-01-14 11:43:16] exec plugin: exec failed: No such file or
> directory
> [2010-01-14 11:44:16] exec plugin: exec failed: No such file or
> directory
> [2010-01-14 11:45:16] exec plugin: exec failed: No such file or
> directory
> [2010-01-14 11:46:16] exec plugin: exec failed: No such file or
> directory
> [2010-01-14 11:47:16] exec plugin: exec failed: No such file or
> directory
> [2010-01-14 11:48:16] exec plugin: exec failed: No such file or
> directory
> [2010-01-14 11:49:16] exec plugin: exec failed: No such file or
> directory
> [2010-01-14 11:49:16] exec plugin: Program
> `/home/seasim/blockDevice.pl -i 60' has closed STDERR.
>
>
>
> I don't know which file it couldn't find, could anyone help with
> debugging this problem?
> Thanks a lot!
>
It probably means it didn't found your script. try to use full path
and/or check if user from u exec script (defined in exec plugin config)
have rights to execute that script
--
Mariusz Gronczewski (XANi) <xani666 at gmail.com>
GnuPG: 0xEA8ACE64
http://devrandom.pl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20100114/107bb78a/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: To jest =?UTF-8?Q?cz=C4=99=C5=9B=C4=87?=
=?UTF-8?Q?_wiadomo=C5=9Bci?= podpisana cyfrowo
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20100114/107bb78a/attachment.pgp
More information about the collectd
mailing list