From fbd1392ca7e5ed33bed54f0f7bcbe44e32d9703e Mon Sep 17 00:00:00 2001
From: Denis GERMAIN
Date: Sun, 4 Dec 2016 12:21:56 +0100
Subject: [PATCH] Added info about bug in RHCS for RHEL 5
---
check_rhcs/check_rhcs.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/check_rhcs/check_rhcs.py b/check_rhcs/check_rhcs.py
index 6f4142d..0c6f661 100644
--- a/check_rhcs/check_rhcs.py
+++ b/check_rhcs/check_rhcs.py
@@ -21,6 +21,14 @@
#
#
# Frank Clements
+#
+# INFO : In RHEL 5, there is a bug in clustat preventing non-root users to use
+# clustat. See https://bugzilla.redhat.com/show_bug.cgi?id=531273
+# You might need to use setuid on clustat to change this if rgmanager cannot be
+# upgraded to 3.0.7+
+# $chown root:nagios /usr/sbin/clustat
+# $chmod u+s /usr/sbin/clustat
+
import xml.dom.minidom
import os