<div dir="ltr">smart.c is the source code, not the compiled plugin. You are probably missing the dependencies for that plugin. You need to install libatasmart-devel and libudev-devel (if you are using CentOS, or the equivalent packages for Debian) then rebuild collectd. Make sure the output of the ./configure step shows:<br><br><pre><span style="font-family:sans-serif">smart . . . . . . . yes<br><br></span></pre><pre><span style="font-family:sans-serif">Giovanni</span><br></pre><br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 19, 2016 at 2:51 AM Gerardo Herzig <<a href="mailto:gherzig@fmed.uba.ar">gherzig@fmed.uba.ar</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all. I have install collectd 5.5 from sources.<br>
<br>
./configure --enable-smart<br>
make<br>
make install<br>
<br>
Then, i modify collectd.conf:<br>
LoadPlugin smart<br>
<Plugin smart><br>
Disk "/^sda3$/"<br>
IgnoreSelected false<br>
</Plugin><br>
<br>
But, when i try to start collectd....<br>
Mar 29 08:27:40 proxmox110 collectd[4543]: plugin_load: Could not find plugin "smart" in /opt/collectd/lib/collectd<br>
Mar 29 08:27:40 proxmox110 collectd[4543]: Found a configuration for the `smart' plugin, but the plugin isn't loaded or didn't register a configuration callback.<br>
<br>
Mhm....So i check and smart.c is in the sources:<br>
root@proxmox110:/usr/local/src/collectd-5.5.0/src# ls | grep smart<br>
smart.c<br>
<br>
But it is not in the libs. So, i guess "make install" is missing something.<br>
<br>
There is a way to just compile smart.c and copy to the right folder, or something i can do by hand?<br>
<br>
Thanks!<br>
Gerardo<br>
<br>
_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org" target="_blank">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" rel="noreferrer" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
</blockquote></div>