2012-05-09 12:20:07 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$scale_min = 0;
|
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
require 'includes/graphs/common.inc.php';
|
2012-05-09 12:20:07 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$agent_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/agent.rrd';
|
2012-05-09 12:20:07 +00:00
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$ds = 'time';
|
2012-05-09 12:20:07 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$colour_area = 'EEEEEE';
|
|
|
|
$colour_line = '36393D';
|
2012-05-09 12:20:07 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$colour_area_max = 'FFEE99';
|
2012-05-09 12:20:07 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$graph_max = 1;
|
|
|
|
$multiplier = 1000;
|
|
|
|
$multiplier_action = '/';
|
2012-05-09 12:20:07 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$unit_text = 'Seconds';
|
2012-05-09 12:20:07 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
require 'includes/graphs/generic_simplex.inc.php';
|