diff options
author | James Meyer <james.meyer@operamail.com> | 2011-12-30 19:01:55 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2011-12-30 19:01:55 (GMT) |
commit | 6c34ebb23c8e730186ac473ca0dd8aa599b66c40 (patch) | |
tree | 16c920eebfcee0247c70b26e1b24fde8865a2709 /abs/core/xymon/hobbit_myth_data.py | |
parent | 5752c2147ae11aa7bf72c54c74d1393543cbcc7b (diff) | |
download | linhes_pkgbuild-6c34ebb23c8e730186ac473ca0dd8aa599b66c40.zip linhes_pkgbuild-6c34ebb23c8e730186ac473ca0dd8aa599b66c40.tar.gz linhes_pkgbuild-6c34ebb23c8e730186ac473ca0dd8aa599b66c40.tar.bz2 |
xymon: fix check for myth_mtc and add support for myth_orphan check.
refs: #806
Diffstat (limited to 'abs/core/xymon/hobbit_myth_data.py')
-rw-r--r-- | abs/core/xymon/hobbit_myth_data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core/xymon/hobbit_myth_data.py b/abs/core/xymon/hobbit_myth_data.py index 840c293..1acca67 100644 --- a/abs/core/xymon/hobbit_myth_data.py +++ b/abs/core/xymon/hobbit_myth_data.py @@ -34,7 +34,7 @@ def check_mtc(): for i in mtc: line=i infile.close() - if line.strip() == "Finished": + if line.split()[0] == "Finished": return True else: return False |