Skip to content

Add a batch option to munin-asyncd #1207

Open
@clem-compilatio

Description

@clem-compilatio

Hello,

Is your feature request related to a problem? Please describe.

  • munin-asyncd pools one by one.
    • => too slow if full pool takes more than 5 minutes.
  • munin-asyncd --fork pools all at once.
    • => very fast but too much load on munin-node host.

Describe the solution you'd like

  • munin-asyncd --batch <count>
    • for example, munin-asyncd --batch 50 would pool plugins 50 by 50, until all plugins have been pooled.

Describe alternatives you've considered

  • Some auto-intra-regulation on the plugins themselfs ? With some counter locking ?
  • Multiple munin-nodes and munin-asyncd --fork by host, to "shard" the plugins pooling, with the munin-asyncds not running at the same time ? With some merge mecanism for munin-async ?

Additional context

  • A simple batch system would be enough :
    • ie, wait untill all plugins from current batch are done.
    • then, start next batch.
  • No need for an advanced batch system where a new plugin is pooled as soon as one is done.
    • of course, it would be awesome if possible.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions