From 249707e2c6a394dbab09bff52d0ebf7a1f440b68 Mon Sep 17 00:00:00 2001 From: Paul Gear Date: Sat, 11 Jul 2015 13:54:09 +1000 Subject: [PATCH] Show agent execution time in seconds Because a graph that shows a value of 1.25k milliseconds doesn't make a lot of sense. --- html/includes/graphs/device/agent.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html/includes/graphs/device/agent.inc.php b/html/includes/graphs/device/agent.inc.php index 2503fd58e..56a46c10d 100644 --- a/html/includes/graphs/device/agent.inc.php +++ b/html/includes/graphs/device/agent.inc.php @@ -18,8 +18,10 @@ $colour_line = "36393D"; $colour_area_max = "FFEE99"; $graph_max = 1; +$multiplier = 1000; +$multiplier_action = "/"; -$unit_text = "msec"; +$unit_text = "Seconds"; require "includes/graphs/generic_simplex.inc.php";