2011-09-26 11:49:38 +00:00
|
|
|
<?php
|
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
require 'includes/graphs/common.inc.php';
|
2011-09-28 23:24:28 +00:00
|
|
|
|
2011-10-01 10:10:02 +00:00
|
|
|
$scale_min = 0;
|
2015-07-10 13:36:21 +02:00
|
|
|
$ds = 'latency';
|
|
|
|
$colour_area = 'F6F6F6';
|
|
|
|
$colour_line = 'B3D0DB';
|
|
|
|
$colour_area_max = 'FFEE99';
|
2011-10-01 10:10:02 +00:00
|
|
|
$graph_max = 100;
|
2015-07-10 13:36:21 +02:00
|
|
|
$unit_text = 'Latency';
|
|
|
|
$powerdns_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/app-powerdns-'.$app['app_id'].'.rrd';
|
2011-09-28 23:24:28 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
if (is_file($powerdns_rrd)) {
|
|
|
|
$rrd_filename = $powerdns_rrd;
|
2011-10-01 10:10:02 +00:00
|
|
|
}
|
2011-09-28 23:24:28 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
require 'includes/graphs/generic_simplex.inc.php';
|