summaryrefslogtreecommitdiffstats
path: root/plugins/check_proc_status.py
diff options
context:
space:
mode:
authorShubhendu Tripathi <shtripat@redhat.com>2014-06-03 12:42:09 +0530
committerSahina Bose <sabose@redhat.com>2014-06-04 05:31:08 -0700
commit2859e20fa96e84548703154bf4bb28439aa4d4e8 (patch)
tree8e90c456f00df89e5419d9f886a53f6851611f41 /plugins/check_proc_status.py
parent58138dcd260104a24e9f1e6c417f0cff8dafb990 (diff)
gluster-nagios-addons: Fixed /dev/tty issue during reboot
While the RHS node is getting booted, the /dev/tty is not yet set so setting stdout_path to /dev/tty fails. As a result start of the check_proc_status daemon fails. Fixed to set stdout_path to /dev/null to resolve the same. Change-Id: I2d09d373fcf6d0b21bda3f35b4cf4ee83594fcb8 Bug-URL: https://bugzilla.redhat.com/show_bug.cgi?id=1103268 Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com> Reviewed-on: http://review.gluster.org/7962 Reviewed-by: Sahina Bose <sabose@redhat.com>
Diffstat (limited to 'plugins/check_proc_status.py')
-rwxr-xr-xplugins/check_proc_status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_proc_status.py b/plugins/check_proc_status.py
index 8f61048..31825f1 100755
--- a/plugins/check_proc_status.py
+++ b/plugins/check_proc_status.py
@@ -77,7 +77,7 @@ class Status():
class App():
def __init__(self):
self.stdin_path = '/dev/null'
- self.stdout_path = '/dev/tty'
+ self.stdout_path = '/dev/null'
self.stderr_path = '/dev/null'
self.pidfile_path = '/var/run/glusterpmd.pid'
self.pidfile_timeout = 5