diff options
author | Shubhendu Tripathi <shtripat@redhat.com> | 2014-06-03 12:42:09 +0530 |
---|---|---|
committer | Sahina Bose <sabose@redhat.com> | 2014-06-04 05:31:08 -0700 |
commit | 2859e20fa96e84548703154bf4bb28439aa4d4e8 (patch) | |
tree | 8e90c456f00df89e5419d9f886a53f6851611f41 | |
parent | 58138dcd260104a24e9f1e6c417f0cff8dafb990 (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>
-rwxr-xr-x | plugins/check_proc_status.py | 2 |
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 |