From b6c5c9910ca136b5a5e720cdbabf8dd0a5ef6cd7 Mon Sep 17 00:00:00 2001 From: Shubhendu Tripathi Date: Fri, 11 Apr 2014 15:59:03 +0530 Subject: gluster-nagios-common: Corrected command definitions Corrected the command definitions which were removed accidently Change-Id: I1e069d178d48534b72245b025b63b5e2616bd4bd Signed-off-by: Shubhendu Tripathi Reviewed-on: https://code.engineering.redhat.com/gerrit/22992 Reviewed-by: Kanagaraj Mayilsamy --- glusternagios/utils.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glusternagios') diff --git a/glusternagios/utils.py b/glusternagios/utils.py index a46811d..d329877 100644 --- a/glusternagios/utils.py +++ b/glusternagios/utils.py @@ -105,6 +105,8 @@ setsidCmdPath = CommandPath("setsid", sudoCmdPath = CommandPath("sudo", "/usr/bin/sudo", ) +hostnameCmdPath = CommandPath("hostname", "/bin/hostname", ) +glusterCmdPath = CommandPath("gluster", "/usr/sbin/gluster") # Buffsize is 1K because I tested it on some use cases and 1K was fastest. If # you find this number to be a bottleneck in any way you are welcome to change # it -- cgit