aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Miccini <luca.miccini@redhat.com>2015-03-11 15:19:49 +0100
committerBryn M. Reeves <bmr@redhat.com>2015-06-30 18:21:22 +0100
commit5ac02f4fbc38992f23aa1f44974f74f7c4e16ea5 (patch)
tree18172b08c6e53cf6fff53f078248167ef171a7d1
parent1d4185aa916703370f605f87341aa74563f06aa5 (diff)
downloadsos-5ac02f4fbc38992f23aa1f44974f74f7c4e16ea5.tar.gz
[sapnw] add sybase ASE collection
Signed-off-by: Luca Miccini <luca.miccini@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/sapnw.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/plugins/sapnw.py b/sos/plugins/sapnw.py
index 521556b1..e18978f6 100644
--- a/sos/plugins/sapnw.py
+++ b/sos/plugins/sapnw.py
@@ -131,6 +131,11 @@ class sapnw(Plugin, RedHatPlugin):
sid = fields[2][:-1]
self.add_copy_spec("/oracle/%s/*/dbs/init.ora" % sid)
+ if dbtype == 'syb':
+ # Sybase
+ sid = fields[2][:-1]
+ self.add_copy_spec("/sybase/%s/ASE*/%s.cfg" % (sid, sid))
+
# if sapconf available run it in check mode
if os.path.isfile("/usr/bin/sapconf"):
self.add_cmd_output(