<div dir="ltr">I'm using this config in the apache plugin and I've added to the collectd distribution the ca-bundle.crt contained in openssl package ( located at /etc/pki/tls/certs/ca-bundle.crt in RHEL 5.6)<div><br>
</div><div><div> <Instance "local_443"> </div><div> URL "<a href="https://localhost:443/server-status?auto">https://localhost:443/server-status?auto</a>"</div><div> VerifyPeer false</div><div>
VerifyHost false</div><div> CACert "/opt/collectd/etc/ca-bundle.crt"</div><div> </Instance></div></div><div><br></div><div>I hope this issue can help you.</div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2014-05-29 12:32 GMT+02:00 Tien Nguyen Manh <span dir="ltr"><<a href="mailto:tien.nguyenmanh@sematext.com" target="_blank">tien.nguyenmanh@sematext.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>I am using collectd 5.1.0 on ubuntu 13.10, libgnutls-dev 2.12.23-1ubuntu4.2</div><div><br></div><div>I found one error in syslog while collectd try to conntect to <a href="https://localhost/server-status" target="_blank">https://localhost/server-status</a></div>
<div><div><br></div><div><i>May 28 09:02:52 localhost kernel: [ 2140.169515] collectd[22500]: segfault at 0 ip 00007f5622e09b99 sp 00007f561f447920 error 4 in libgnutls.so.26.22.6[7f5622d95000+b6000]</i></div></div><div>
<br>
</div><div>I attached the output of collectd trace. At the end of that trace, it connect to some resource but got Timeout error several times, then it stop.</div><div><br></div><div>Regards,</div><div>Tien</div></div><div class="HOEnZb">
<div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, May 29, 2014 at 10:34 AM, Otis Gospodnetic <span dir="ltr"><<a href="mailto:otis.gospodnetic@gmail.com" target="_blank">otis.gospodnetic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi,<div><br></div><div>Which version of Collectd? OS? GNU TLS?<div>Any errors in Collectd log?</div><div>What about running Collectd with strace, does that show anything?<br><div class="gmail_extra"><br clear="all">
<div>Otis<br>--<br>Performance Monitoring * Log Analytics * Search Analytics<br>Solr & Elasticsearch Support * <a href="http://sematext.com/" target="_blank">http://sematext.com/</a></div>
<br><br><div class="gmail_quote"><div><div>On Tue, May 27, 2014 at 10:50 PM, Tien Nguyen Manh <span dir="ltr"><<a href="mailto:tien.nguyenmanh@sematext.com" target="_blank">tien.nguyenmanh@sematext.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello,<div><br></div><div>I have issue config Collectd Apache plugin for Apache running on https with status page</div>
<div><a href="https://localhost/server-status" target="_blank">https://localhost/server-status</a></div>
<div><br></div><div>Here is my collectd config part for Apache plugin</div><div><br></div><div><div>LoadPlugin apache</div><div><Plugin "apache"></div><div> <Instance "default"></div><div>
URL "<a href="https://localhost/server-status?auto" target="_blank">https://localhost/server-status?auto</a>"</div><div> #User "www-user"</div><div> #Password "secret"</div><div> VerifyPeer false</div>
<div> VerifyHost false</div><div> # CACert "/etc/ssl/certs/ssl-cert-snakeoil.pem"</div><div> #Server "apache"</div><div> </Instance></div><div></Plugin></div></div><div><br></div>
<div>Collectd can't access Apache server-status page, there are no logs for apache, while it still produce logs for CPU, mem, ...</div><div><br></div><div>I tested fetching status page with curl successfully by command </div>
<div><br></div><div>curl -k <a href="https://localhost/server-status" target="_blank">https://localhost/server-status</a></div><div><div>Total Accesses: 2<br></div><div>Total kBytes: 5</div><div>CPULoad: .00501855</div><div>
Uptime: 4583</div>
<div>ReqPerSec: .000436395</div><div>BytesPerSec: 1.11717</div><div>BytesPerReq: 2560</div><div>BusyWorkers: 2</div></div><div><br></div><div>What is wrong with my collectd config?</div><div>is -k option in curl equivalent to VerifyPeer false in collectd-apach config?</div>
<div><br></div><div>Thanks,</div><div>Tien</div><div><br></div></div>
<br></div></div>_______________________________________________<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" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
<br></blockquote></div><br></div></div></div></div>
<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" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><p align="right"><font face="Verdana, Geneva, Arial, Sans-serif">Att</font></p>
<p align="right"><font face="Verdana, Geneva, Arial, Sans-serif">Toni Moreno</font></p>
<p align="right"><font face="Verdana, Geneva, Arial, Sans-serif">699706656</font></p><img src="http://graphics.hotmail.com/greypixel.gif" height="2" vspace="9" width="100%"><br>
<p align="right"><em>Si no quieres perderte en el olvido tan pronto como estés muerto y corrompido, </em></p>
<p align="right"><em>escribe cosas dignas de leerse, o haz cosas dignas de escribirse.</em></p>
<p align="right"> </p>
<p align="right"><strong><em>Benjamin Franklin</em></strong> <br></p>
</div>