File check_gitlab_-_readiness_probe_format_changes.patch of Package monitoring-plugins-gitlab

--- check_gitlab.rb.orig	2019-11-05 11:20:04.888721805 +0100
+++ check_gitlab.rb	2019-11-05 11:21:19.241225271 +0100
@@ -225,7 +225,8 @@
     return unless @options[:mode] == 'health'
     http_connect(path: '-/readiness')
     data_json = JSON.parse(@response.body)
-    unhealthy_probes = data_json.reject { |_k, v| v['status'] == 'ok' }
+    unhealthy_probes = JSON.parse(@response.body).reject { |_k, v| v[0]['status'] == 'ok' }
+    unhealthy_probes.delete('status') # needed for gitlab 12.4
     debug(data: data_json) if @options[:debug]
     if unhealthy_probes.empty?
       ok_msg('Gitlab probes are in healthy state')