From 023d7af3e313f4154a869d5e67e792fde3bd273f Mon Sep 17 00:00:00 2001 From: Shubhendu Tripathi Date: Mon, 24 Mar 2014 15:06:07 +0530 Subject: gluster-nagios-common: Added cmd path for pvs Added command path entry for pvs command Change-Id: I933f97fd688f67131a1109e248af4bd58d79dc81 Signed-off-by: Shubhendu Tripathi Reviewed-on: https://code.engineering.redhat.com/gerrit/21687 Reviewed-by: Balamurugan Arumugam Reviewed-by: Sahina Bose --- glusternagios/utils.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/glusternagios/utils.py b/glusternagios/utils.py index 18acb77..0211e53 100644 --- a/glusternagios/utils.py +++ b/glusternagios/utils.py @@ -104,6 +104,14 @@ setsidCmdPath = CommandPath("setsid", sudoCmdPath = CommandPath("sudo", "/bin/sudo", ) +lvsCmdPath = CommandPath("lvs", + "/sbin/lvs", + ) +vgsCmdPath = CommandPath("vgs", + "/sbin/vgs", + ) +pvsCmdPath = CommandPath("pvs", + "/sbin/pvs") # 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