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:[email protected] _______________________________________________ collectd mailing list [email protected] https://mailman.verplant.org/listinfo/collectd
