From f0ae44dde814ebe07159435e06fbb322f935d9e1 Mon Sep 17 00:00:00 2001 From: astokes Date: Thu, 22 Apr 2010 15:43:35 +0000 Subject: 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 --- sos/plugins/veritas.py | 9 ++++++--- 1 file 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 -- cgit