From eaf3d4136d6dd1ef00a7cef23f9338b03783dd43 Mon Sep 17 00:00:00 2001 From: Shubhendu Tripathi Date: Tue, 1 Apr 2014 15:12:50 +0530 Subject: gluster-nagios-common: Added storage utils module Introduced storage device utils module Change-Id: I738b46b0750deaf91b896a8edab07b5f1a692ddb Signed-off-by: Shubhendu Tripathi Reviewed-on: https://code.engineering.redhat.com/gerrit/22254 Reviewed-by: Sahina Bose Tested-by: Sahina Bose --- glusternagios/utils.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'glusternagios/utils.py') diff --git a/glusternagios/utils.py b/glusternagios/utils.py index 047fccf..a46811d 100644 --- a/glusternagios/utils.py +++ b/glusternagios/utils.py @@ -105,17 +105,6 @@ setsidCmdPath = CommandPath("setsid", sudoCmdPath = CommandPath("sudo", "/usr/bin/sudo", ) -lvsCmdPath = CommandPath("lvs", - "/sbin/lvs", - ) -vgsCmdPath = CommandPath("vgs", - "/sbin/vgs", - ) -pvsCmdPath = CommandPath("pvs", - "/sbin/pvs", - ) -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