aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-04-22 15:43:35 +0000
committerastokes <astokes@ef72aa8b-4018-0410-8976-d6e080ef94d8>2010-04-22 15:43:35 +0000
commitf0ae44dde814ebe07159435e06fbb322f935d9e1 (patch)
tree7309f047e894c51c16d9c5348a5f42948cb527e2
parent5b9997cc52168ff14f0f04632bda3b6a7be98a52 (diff)
downloadsos-f0ae44dde814ebe07159435e06fbb322f935d9e1.tar.gz
updated veritas plugin based on instructions from:
http://seer.entsupport.symantec.com/docs/243150.htm git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@937 ef72aa8b-4018-0410-8976-d6e080ef94d8
-rw-r--r--sos/plugins/veritas.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/sos/plugins/veritas.py b/sos/plugins/veritas.py
index a37999ec..bd1c778f 100644
--- a/sos/plugins/veritas.py
+++ b/sos/plugins/veritas.py
@@ -19,14 +19,17 @@ import os
class veritas(sos.plugintools.PluginBase):
"""veritas related information
"""
+ # Information about VRTSexplorer obtained from
+ # http://seer.entsupport.symantec.com/docs/243150.htm
+ optionList = [("script", "Define VRTSexplorer script path", "", "/opt/VRTSspt/VRTSexplorer")]
+
def checkenabled(self):
- if os.path.isfile("/usr/sbin/VRTSexplorer"):
+ if os.path.isfile(self.getOption("script")):
return True
return False
def setup(self):
""" interface with vrtsexplorer to capture veritas related data """
- # TODO: set appropriate switches
- self.collectExtOutput("/usr/sbin/VRTSexplorer")
+ self.collectExtOutput(self.getOption("script"))
return