diff options
Diffstat (limited to 'abs/core/xymon/hobbit_myth_data.py')
-rwxr-xr-x | abs/core/xymon/hobbit_myth_data.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/abs/core/xymon/hobbit_myth_data.py b/abs/core/xymon/hobbit_myth_data.py index 52d6a6b..3c7ad49 100755 --- a/abs/core/xymon/hobbit_myth_data.py +++ b/abs/core/xymon/hobbit_myth_data.py @@ -95,7 +95,9 @@ def find_data_left(): now = datetime.datetime.now() -date = "%s-%s-%s" %(now.year, now.month, now.day) +#date = "%s-%s-%s" %(now.year, now.month, now.day) +date = (now.strftime('%Y-%m-%d')) + mtc_file = "/var/log/%s/myth_mtc.log" %date mtc=check_mtc(mtc_file) |