This repository was archived by the owner on Dec 31, 2021. It is now read-only.
  
  
  
  
  
Description
Hi,
Great work, Thumbs up !
I was wondering how can i model a collectd plugin configuration that uses nested XML values using the collectd_plugin resource ?
Take the phpfpm collectd plugin as an example https://collectd.org/wiki/index.php/Plugin:cURL-JSON/phpfpm where is lists something like the following:
LoadPlugin curl_json
<Plugin curl_json>
<URL "http://127.0.0.1/_fpmstatus?json">
  Instance "fpm"
  <Key "accepted conn">
      Type "http_requests"
  </Key>
  <Key "listen queue len">
      Type "listen_queue"
  </Key>
  <Key "active processes">
      Type "active_processes"
  </Key>
  <Key "total processes">
      Type "total_processes"
  </Key>
</URL>
</Plugin>
Any hints on how to do that ?
Thanks in advance.