munin-monitoring / contrib

Contributed stuff for munin (plugins, tools, etc...)
http://munin-monitoring.org
1.05k stars 683 forks source link

[rabbitmq_messages*] Fix rabbitmqctl output filter #1324

Closed codeurimpulsif closed 1 year ago

codeurimpulsif commented 2 years ago

Goal

Informations

Like #1323

By default rabbitmqctl list_queues -p / name messages give this kind of output:

Timeout: 60.0 seconds ...
Listing queues for vhost / ...
name    messages
celery  0

Then in this plugin it result to:

Timeout:.value 60.0
name.value messages
celery.value 0

This merge request fix the grep command to get this plugin result:

celery.value 0
codeurimpulsif commented 1 year ago

Is this PR ok? Did I need to add other things?