<div dir="ltr">Hi, i've been using collectd for a few months to gather based system stats, recently i've tried unsuccessfully to use the varnish plugin.<div><br></div><div>on start:</div><div><br></div><div>stdout: </div>
<p class="">"Starting collectd: Could not find plugin varnish"</p>
<p class="">logs:</p><p class="">
</p><p class="">There is a `Instance' block within the configuration for the varnish plugin. The plugin either only expects "simple" configuration statements or wasn't loaded using `LoadPlugin'. Please check your configuration.</p>
<p class=""><br></p><p class="">conf:</p><p class="">LoadPlugin varnish</p><p class=""><Plugin "varnish"></p><p class=""> <Instance></p><p class=""> CollectCache true</p><p class=""> CollectConnections true</p>
<p class=""> CollectBackend true</p><p class=""> CollectSHM true</p><p class=""> CollectESI false</p><p class=""> CollectFetch false</p><p class=""> CollectHCB false</p><p class="">
CollectSMA false</p><p class=""> CollectSMS false</p><p class=""> CollectSM false</p><p class=""> CollectTotals false</p><p class=""> CollectWorkers false</p><p class=""> </Instance></p>
<p class=""></Plugin></p><div><br></div><div>OS<br></div><p class="">CentOS release 6.5 (Final)<br></p>
<p class="">using:</p><p class="">collectd-5.1.0-1.el6.rft.x86_64 <br></p><p class=""><br></p><p class="">varnish-release-3.0-1.el6.noarch<br></p>
<p class=""><br></p><p class="">[root@hssn-dev-el6-03 varnish]# rpm -ql varnish-libs-3.0.5-1.el6.x86_64<br></p>
<p class="">/usr/lib64/libvarnishapi.so.1</p>
<p class="">/usr/lib64/libvarnishapi.so.1.0.0</p>
<p class="">[root@hssn-dev-el6-03 varnish]# ls -al /usr/lib64/varnish/<br></p>
<p class="">total 332</p>
<p class="">drwxr-xr-x 3 root root 4096 May 22 11:14 .</p>
<p class="">dr-xr-xr-x. 45 root root 24576 May 22 14:28 ..</p>
<p class="">-rwxr-xr-x 1 root root 4800 Dec 2 03:31 libvarnishcompat.so</p>
<div>-rwxr-xr-x 1 root root 81720 Dec 2 03:31 libvarnish.so </div><div><br></div><div><br></div><div>i've tried creating soft links under /usr/lib64 as per: <a href="http://mailman.verplant.org/pipermail/collectd/2010-June/003877.html">http://mailman.verplant.org/pipermail/collectd/2010-June/003877.html</a> </div>
<div><br></div><div><div>lrwxrwxrwx 1 root root 27 May 23 09:17 libvarnishcompat.so -> varnish/libvarnishcompat.so</div><div>lrwxrwxrwx 1 root root 18 May 23 09:18 libvarnishapi.so -> libvarnishapi.so.1</div>
</div><div><br></div><div><div>[root@hssn-dev-el6-03 lib64]# find . -type f -name "libvarnish*" -print</div><div>./libvarnishapi.so.1.0.0</div><div>./libvarnish.so</div><div>./varnish/libvarnish.so</div><div>./varnish/libvarnishcompat.so</div>
</div><div><br></div><div><br></div><div>any possible leads, would be greatly appreciated.</div><div><br></div><div>kind regards,</div><div>-LC </div></div>