Module: check_mk
Branch: master
Commit: 1ee650a535abb83fd34bb9b8a6297d444275e36d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1ee650a535abb8…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 17 09:55:17 2015 +0100
Trivial code change in metrics, import time
---
web/htdocs/metrics.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/web/htdocs/metrics.py b/web/htdocs/metrics.py
index e96d65f..3a35665 100644
--- a/web/htdocs/metrics.py
+++ b/web/htdocs/metrics.py
@@ -33,7 +33,7 @@
# unit_name: The ID of a unit, e.g. "%"
# unit: The definition-dict of a unit like in unit_info
-import math
+import math, time
import config, defaults
from lib import *
@@ -667,7 +667,6 @@ def page_pnp_template():
html.write(output)
-
def render_pnp_graph(graph, translated_metrics):
graph_title = None