[collectd] "simple" configuration in curl plugin.

Rodrigo Ramos crackduoro at gmail.com
Wed Feb 22 19:08:56 CET 2017


Hi, Pavel

You are right, LoadPlugin was missing into my configuration file.


Thanks!

2017-02-16 22:59 GMT-06:00 Pavel V. <pavel2000 at ngs.ru>:

> Hi, Rodrigo.
>
> > Hi, Pavel.
>
> >>Which version of collectd are you using?
> >>Did your config has "LoadPlugin curl" option enabled?
>
> > My version of collectd is 5.6. Yes, I made sure that It were enable (the
> compilation output said [yes]).
>
> 1) Please check if your _config_ has "LoadPlugin curl" line, not only
> compilation options.
> 2) Check if log has more info (before "There is a `Page' block within the
> configuration for" message)
> 3) Check your config carefully. Maybe problem is caused by a semicolon:
>
> > URL "http://mysite.com";
>
>
> > Thanks.
>
> > Hello,
> > I am trying with curl plugin, but I am having troubles with the
> > configuration. I have not found which is "simple configuration".
>
> > The purpose to use collectd-curl is for gathering two metrics, the site
> is up
> > or down (http code) and the response time.
> > [2017-02-15 13:37:25] There is a `Page' block within the configuration
> for
> > the curl plugin. The plugin either only expects "simple" configuration
> > statements or wasn't loaded using `LoadPlugin'. Please check your
> configuration.
>
>
> >   <Plugin curl>
> >     <Page "mysite">
> >       URL "http://mysite.com";
> >       Digest false
> >       VerifyPeer false
> >       VerifyHost false
> >       MeasureResponseTime true
> >       MeasureResponseCode true
> >       <Match>
> >         Regex "<strong>mysite</strong>"
> >         DSType "GaugeAverage"
> >         Instance "mysite"
> >       </Match>
> >     </Page>
> >   </Plugin>
>
> > List of sites I have visited.
> > * https://collectd.org/wiki/index.php/Plugin:cURL
> > * https://collectd.org/documentation/manpages/types.
> db.5.shtml#custom_types
> > * https://collectd.org/documentation/manpages/
> collectd.conf.5.shtml#plugin_tail
> > * https://collectd.org/documentation/manpages/
> collectd.conf.5.shtml#plugin_curl
>
>
>
>
> --
> С уважением,
>  Pavel                          mailto:pavel2000 at ngs.ru
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20170222/7e0db963/attachment.html>


More information about the collectd mailing list