diff options
author | Shubhendu Tripathi <shtripat@redhat.com> | 2014-03-24 15:06:07 +0530 |
---|---|---|
committer | Bala.FA <barumuga@redhat.com> | 2014-04-28 16:20:46 +0530 |
commit | 023d7af3e313f4154a869d5e67e792fde3bd273f (patch) | |
tree | 61010db1e56f9c371a2233983b88f72bca9170db | |
parent | 7750d910bb7047c0c24f2e93dd302a445b5068ec (diff) |
gluster-nagios-common: Added cmd path for pvs
Added command path entry for pvs command
Change-Id: I933f97fd688f67131a1109e248af4bd58d79dc81
Signed-off-by: Shubhendu Tripathi <shtripat@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/21687
Reviewed-by: Balamurugan Arumugam <barumuga@redhat.com>
Reviewed-by: Sahina Bose <sabose@redhat.com>
-rw-r--r-- | glusternagios/utils.py | 8 |
1 files changed, 8 insertions, 0 deletions
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 |