Skip to content
Snippets Groups Projects
Commit e6fa0b98 authored by Florent Thiery's avatar Florent Thiery
Browse files

fix typo, refs #21661

parent 0f6200a1
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ def check_munin(): ...@@ -45,7 +45,7 @@ def check_munin():
mtime = os.path.getmtime(MUNIN_CHECK_PATH) mtime = os.path.getmtime(MUNIN_CHECK_PATH)
d = datetime.fromtimestamp(mtime) d = datetime.fromtimestamp(mtime)
now = datetime.now() now = datetime.now()
diff_seconds = (now - d).total_seconds diff_seconds = (now - d).total_seconds()
if diff_seconds > 3600: if diff_seconds > 3600:
print_red('Monitoring data is older than 1 hour and is probably not working.') print_red('Monitoring data is older than 1 hour and is probably not working.')
return 1 return 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment