From 2859e20fa96e84548703154bf4bb28439aa4d4e8 Mon Sep 17 00:00:00 2001 From: Shubhendu Tripathi Date: Tue, 3 Jun 2014 12:42:09 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/7962 Reviewed-by: Sahina Bose --- plugins/check_proc_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit