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) <[email protected]>
GnuPG: 0xEA8ACE64
http://devrandom.pl

Attachment: signature.asc
Description: To jest część wiadomości podpisana cyfrowo

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to