diff options
author | shnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2007-02-16 15:53:55 +0000 |
---|---|---|
committer | shnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2007-02-16 15:53:55 +0000 |
commit | 4e52ef7987af2d3f7ea934c4bbb0c675733b5791 (patch) | |
tree | d0ea442377e88b948bb1e40c5c1bb6df59dd5b9d /src/lib | |
parent | ea3d5082dc01a09dea940356dac54e4ff2309b7e (diff) | |
download | sos-4e52ef7987af2d3f7ea934c4bbb0c675733b5791.tar.gz |
Collect parsed configuration tree directly from ccsd (useful for troubleshooting parsing issues)
Scamble password information for fencing devices.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@77 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/sos/plugins/cluster.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/sos/plugins/cluster.py b/src/lib/sos/plugins/cluster.py index eaa173f9..cc37cee5 100644 --- a/src/lib/sos/plugins/cluster.py +++ b/src/lib/sos/plugins/cluster.py @@ -21,5 +21,10 @@ class cluster(sos.plugintools.PluginBase): self.addCopySpec("/etc/cluster.conf") self.addCopySpec("/etc/cluster.xml") self.addCopySpec("/etc/cluster") + self.collectExtOutput("/usr/sbin/rg_test test /etc/cluster/cluster.conf") + self.addCopySpec("/proc/cluster") return + def postproc(self): + self.doRegexSub("/etc/cluster/cluster.conf", r"(\s*\<fencedevice\s*.*\s*passwd\s*=\s*)\S+(\")", r"\1***") + return |