<div dir="ltr"><div><div>Hi, Pavel<br><br></div>You are right, LoadPlugin was missing into my configuration file.<br><br><br></div>Thanks!<br></div><div class="gmail_extra"><br><div class="gmail_quote">2017-02-16 22:59 GMT-06:00 Pavel V. <span dir="ltr"><<a href="mailto:pavel2000@ngs.ru" target="_blank">pavel2000@ngs.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, Rodrigo.<br>
<br>
> Hi, Pavel.<br>
<span class=""><br>
>>Which version of collectd are you using?<br>
>>Did your config has "LoadPlugin curl" option enabled?<br>
<br>
</span><span class="">> My version of collectd is 5.6. Yes, I made sure that It were enable (the compilation output said [yes]).<br>
<br>
</span>1) Please check if your _config_ has "LoadPlugin curl" line, not only<br>
compilation options.<br>
<span class="im HOEnZb">2) Check if log has more info (before "There is a `Page' block within the<br>
configuration for" message)<br>
3) Check your config carefully. Maybe problem is caused by a semicolon:<br>
<br>
> URL "<a href="http://mysite.com" rel="noreferrer" target="_blank">http://mysite.com</a>";<br>
<br>
<br>
> Thanks.<br>
<br>
</span><div class="HOEnZb"><div class="h5">> Hello,<br>
> I am trying with curl plugin, but I am having troubles with the<br>
> configuration. I have not found which is "simple configuration".<br>
<br>
> The purpose to use collectd-curl is for gathering two metrics, the site is up<br>
> or down (http code) and the response time.<br>
> [2017-02-15 13:37:25] There is a `Page' block within the configuration for<br>
> the curl plugin. The plugin either only expects "simple" configuration<br>
> statements or wasn't loaded using `LoadPlugin'. Please check your configuration.<br>
<br>
<br>
>   <Plugin curl><br>
>     <Page "mysite"><br>
>       URL "<a href="http://mysite.com" rel="noreferrer" target="_blank">http://mysite.com</a>";<br>
>       Digest false<br>
>       VerifyPeer false<br>
>       VerifyHost false<br>
>       MeasureResponseTime true<br>
>       MeasureResponseCode true<br>
>       <Match><br>
>         Regex "<strong>mysite</strong>"<br>
>         DSType "GaugeAverage"<br>
>         Instance "mysite"<br>
>       </Match><br>
>     </Page><br>
>   </Plugin><br>
<br>
> List of sites I have visited.<br>
> * <a href="https://collectd.org/wiki/index.php/Plugin:cURL" rel="noreferrer" target="_blank">https://collectd.org/wiki/<wbr>index.php/Plugin:cURL</a><br>
> * <a href="https://collectd.org/documentation/manpages/types.db.5.shtml#custom_types" rel="noreferrer" target="_blank">https://collectd.org/<wbr>documentation/manpages/types.<wbr>db.5.shtml#custom_types</a><br>
> * <a href="https://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_tail" rel="noreferrer" target="_blank">https://collectd.org/<wbr>documentation/manpages/<wbr>collectd.conf.5.shtml#plugin_<wbr>tail</a><br>
> * <a href="https://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_curl" rel="noreferrer" target="_blank">https://collectd.org/<wbr>documentation/manpages/<wbr>collectd.conf.5.shtml#plugin_<wbr>curl</a><br>
<br>
<br>
<br>
<br>
</div></div><div class="HOEnZb"><div class="h5">--<br>
С уважением,<br>
 Pavel                          mailto:<a href="mailto:pavel2000@ngs.ru">pavel2000@ngs.ru</a><br>
<br>
</div></div></blockquote></div><br></div>