Oh, Sorry about that. I will pay attention. Thanks again:-)<br><br><div class="gmail_quote">2010/1/15 XANi <span dir="ltr"><<a href="mailto:xani666@gmail.com">xani666@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
No problem :) But generally use "Reply All" on collectd mailing list so others can see if u solver your problem and eventually how u did it.<br>
Dnia 2010-01-15, pią o godzinie 11:52 -0500, Jie Zhang pisze:<div><div></div><div class="h5"><br>
<blockquote type="CITE">
I see. Thanks a lot!<br>
<br>
</blockquote>
<blockquote type="CITE">
2010/1/14 XANi <<a href="mailto:xani666@gmail.com" target="_blank">xani666@gmail.com</a>>
</blockquote>
<blockquote type="CITE">
<blockquote>
Dnia 2010-01-14, czw o godzinie 11:51 -0500, Jie Zhang pisze:
</blockquote>
</blockquote>
<blockquote type="CITE">
<blockquote>
<br>
</blockquote>
</blockquote>
<blockquote type="CITE">
<blockquote>
<br>
<blockquote type="CITE">
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. <br>
<br>
I have a type "block_device" defined in the types.db file:<br>
<i>block_device reads:COUNTER:0:4294967295, writes:COUNTER:0:4294967295</i><br>
<br>
<br>
My script output the following:<br>
<br>
<i>PUTVAL UML-F632/blockDevice-AAS7200_Cell_0_0x50050C24E900BB00_bay0_4:0:7:0/block_device-read_write_ios interval=60 1263485173:8:4</i><br>
<i>PUTVAL UML-F632/blockDevice-AAS7200_Cell_0_0x50050C24E900BB00_bay1_4:0:4:0/block_device-read_write_ios interval=60 1263485173:5:4</i><br>
<i>......</i><br>
<br>
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:<br>
<br>
[2010-01-14 11:40:16] exec plugin: exec failed: No such file or directory<br>
[2010-01-14 11:41:16] exec plugin: exec failed: No such file or directory<br>
[2010-01-14 11:42:16] exec plugin: exec failed: No such file or directory<br>
[2010-01-14 11:43:16] exec plugin: exec failed: No such file or directory<br>
[2010-01-14 11:44:16] exec plugin: exec failed: No such file or directory<br>
[2010-01-14 11:45:16] exec plugin: exec failed: No such file or directory<br>
[2010-01-14 11:46:16] exec plugin: exec failed: No such file or directory<br>
[2010-01-14 11:47:16] exec plugin: exec failed: No such file or directory<br>
[2010-01-14 11:48:16] exec plugin: exec failed: No such file or directory<br>
[2010-01-14 11:49:16] exec plugin: exec failed: No such file or directory<br>
[2010-01-14 11:49:16] exec plugin: Program `/home/seasim/blockDevice.pl -i 60' has closed STDERR.<br>
<br>
<br>
<br>
I don't know which file it couldn't find, could anyone help with debugging this problem?<br>
Thanks a lot!<br>
<br>
</blockquote>
</blockquote>
</blockquote>
<blockquote type="CITE">
<blockquote>
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<br>
<br>
<table cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td>
<pre>--
Mariusz Gronczewski (XANi) <<a href="mailto:xani666@gmail.com" target="_blank">xani666@gmail.com</a>>
GnuPG: 0xEA8ACE64
<a href="http://devrandom.pl" target="_blank">http://devrandom.pl</a>
</pre>
</td>
</tr>
</tbody></table>
</blockquote>
</blockquote>
<blockquote type="CITE">
<br>
</blockquote>
<br>
<br>
<table cellpadding="0" cellspacing="0" width="100%">
<tbody><tr>
<td>
<pre>--
Mariusz Gronczewski (XANi) <<a href="mailto:xani666@gmail.com" target="_blank">xani666@gmail.com</a>>
GnuPG: 0xEA8ACE64
<a href="http://devrandom.pl" target="_blank">http://devrandom.pl</a>
</pre>
</td>
</tr>
</tbody></table>
</div></div></div>
</blockquote></div><br>