Files
librenms-librenms/html/includes/graphs/device/agent.inc.php
Paul Gear 249707e2c6 Show agent execution time in seconds
Because a graph that shows a value of 1.25k milliseconds doesn't make a lot of sense.
2015-07-11 18:15:15 +10:00

29 lines
447 B
PHP

<?php
$scale_min = 0;
require "includes/graphs/common.inc.php";
$agent_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/agent.rrd";
if (is_file($agent_rrd)) {
$rrd_filename = $agent_rrd;
}
$ds = "time";
$colour_area = "EEEEEE";
$colour_line = "36393D";
$colour_area_max = "FFEE99";
$graph_max = 1;
$multiplier = 1000;
$multiplier_action = "/";
$unit_text = "Seconds";
require "includes/graphs/generic_simplex.inc.php";
?>