[collectd] curl_xml plugin
Amit Gupta
amit.gupta221 at gmail.com
Mon Dec 21 09:41:01 CET 2009
Haven't heard from anyone other than Marco.
Florian/Sebastian,
Any comments on the plugin will be appreciated.
Regards
Amit
On Mon, Nov 16, 2009 at 5:45 PM, Amit Gupta <amit.gupta221 at gmail.com> wrote:
> Any comments/suggestions for this proposed plugin?
>
> Regards
> Amit
>
>
> On Fri, Nov 6, 2009 at 4:41 PM, Amit Gupta <amit.gupta221 at gmail.com>wrote:
>
>> Hi,
>>
>> I have been working on curl_xml plugin. The idea of this plugin is to
>> query the xml data using the curl library and parse it according to the
>> user's configuration using libxml2. I have worked on the top of curl-json
>> plugin code and got this plugin to work. I am proposing the following
>> configuration for curl_xml:
>>
>> <Plugin curl_xml>
>> <URL "[some url]">
>> Instance "<instance-name>"
>> <xpath "<xpath1>">
>> Instance "<instance-name>" (Optional)
>> Type "<type>"
>> </xpath>
>> <xpath "<xpath2>">
>> Instance "<instance-name>" (Optional)
>> Type "<type>"
>> </xpath>
>> </URL>
>> <URL .....>
>> ......
>> </URL>
>> </Plugin>
>>
>> libxml2 will parse the xml using xpath specified in the configuration. For
>> now, the attached code supports one xpath to one element mapping.
>>
>> Does this plugin make sense?. I will be submitting the configure, Makefile
>> and the documentation changes once this idea is approved.
>>
>> Regards
>> Amit
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.verplant.org/pipermail/collectd/attachments/20091221/ef29058b/attachment.htm
More information about the collectd
mailing list