File check_rabbitmq-queuelength-3.7.patch of Package monitoring-plugins-rabbitmq

commit 4749f211741187fd8ca78ff99a466d243cf04e37
Author: Ruediger Oertel <ro@suse.de>
Date:   Tue Nov 26 16:58:16 2019 +0100

    fix output parsing for rabbitmq 3.7

diff --git a/check_rabbitmq b/check_rabbitmq
index b390735..6de3cf3 100755
--- a/check_rabbitmq
+++ b/check_rabbitmq
@@ -56,6 +56,7 @@ class RabbitCmdWrapper(object):
         #remove text fluff
         if "Listing connections ..." in results: results.remove("Listing connections ...")
         if "Listing queues ..." in results: results.remove("Listing queues ...")
+        if "name\tmessages" in results: results.remove("name\tmessages")
         return_data = []
         for row in results:
             return_data.append(row.split('\t'))