2012-05-09 12:20:07 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$scale_min = 0;
|
|
|
|
|
2015-07-11 13:42:14 +10:00
|
|
|
require "includes/graphs/common.inc.php";
|
2012-05-09 12:20:07 +00:00
|
|
|
|
|
|
|
$agent_rrd = $config['rrd_dir'] . "/" . $device['hostname'] . "/agent.rrd";
|
|
|
|
|
2015-07-11 13:42:14 +10:00
|
|
|
if (is_file($agent_rrd)) {
|
|
|
|
$rrd_filename = $agent_rrd;
|
2012-05-09 12:20:07 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
$ds = "time";
|
|
|
|
|
2012-05-09 16:18:23 +00:00
|
|
|
$colour_area = "EEEEEE";
|
|
|
|
$colour_line = "36393D";
|
2012-05-09 12:20:07 +00:00
|
|
|
|
|
|
|
$colour_area_max = "FFEE99";
|
|
|
|
|
|
|
|
$graph_max = 1;
|
2015-07-11 13:54:09 +10:00
|
|
|
$multiplier = 1000;
|
|
|
|
$multiplier_action = "/";
|
2012-05-09 12:20:07 +00:00
|
|
|
|
2015-07-11 13:54:09 +10:00
|
|
|
$unit_text = "Seconds";
|
2012-05-09 12:20:07 +00:00
|
|
|
|
2015-07-11 13:42:14 +10:00
|
|
|
require "includes/graphs/generic_simplex.inc.php";
|
2012-05-09 12:20:07 +00:00
|
|
|
|
|
|
|
?>
|