summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/hobbit_myth_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/xymon/hobbit_myth_data.py')
-rwxr-xr-xabs/core/xymon/hobbit_myth_data.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/abs/core/xymon/hobbit_myth_data.py b/abs/core/xymon/hobbit_myth_data.py
index 3c7ad49..ac56903 100755
--- a/abs/core/xymon/hobbit_myth_data.py
+++ b/abs/core/xymon/hobbit_myth_data.py
@@ -59,6 +59,7 @@ def set_color(color_code):
def check_mtc(mtc_file):
+ line=''
try:
infile = open(mtc_file, 'r')
except(IOError), e:
@@ -97,7 +98,7 @@ def find_data_left():
now = datetime.datetime.now()
#date = "%s-%s-%s" %(now.year, now.month, now.day)
date = (now.strftime('%Y-%m-%d'))
-
+#2013-12-03
mtc_file = "/var/log/%s/myth_mtc.log" %date
mtc=check_mtc(mtc_file)