From collectd Wiki
Revision as of 16:56, 23 February 2016 by Pavel (talk | contribs) (Undo revision 3274 by 188.8.131.52 (talk))
|Copyright:||2009,2010 Amit Gupta|
|List of Plugins|
The cURL-XML plugin reads files using libcurl and parses it as Extensible Markup Language (XML). The parsed tree is then traversed according to the user's configuration, using the XML Path Language (XPath).
This plugin is a generic plugin, i.e. it cannot work without configuration, because there is no reasonable default behavior. Please read the Plugin curl_xml section of the collectd.conf(5) manual page for an in-depth description of the plugin's configuration.
- → See: Plugin:cURL-XML/Config
<Plugin "curl_xml"> <URL "http://localhost/stats.xml"> Host "my_host" Instance "some_instance" User "collectd" Password "thaiNg0I" VerifyPeer true VerifyHost true CACert "/path/to/ca.crt" <xpath "table[@id=\"magic_level\"]/tr"> Type "magic_level" #InstancePrefix "prefix-" InstanceFrom "td" ValuesFrom "td/span[@class=\"level\"]" </xpath> </URL> </Plugin>
None yet. Add one now!