Skip to content
This repository was archived by the owner on Dec 31, 2021. It is now read-only.
This repository was archived by the owner on Dec 31, 2021. It is now read-only.

Modeling nested XML plugin configuration using collectd_plugin resource #10

@0xAhmed

Description

@0xAhmed

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions