2011-09-30 00:19:48 +00:00
|
|
|
<?php
|
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
require 'includes/graphs/common.inc.php';
|
2011-09-30 00:19:48 +00:00
|
|
|
|
2011-10-01 10:10:02 +00:00
|
|
|
$scale_min = 0;
|
2015-07-10 13:36:21 +02:00
|
|
|
$ds = 'stratum';
|
|
|
|
$colour_area = 'FFCECE';
|
|
|
|
$colour_line = '880000';
|
|
|
|
$colour_area_max = 'FFCCCC';
|
2011-10-01 10:10:02 +00:00
|
|
|
$graph_max = 0;
|
2015-07-10 13:36:21 +02:00
|
|
|
$unit_text = 'Stratum';
|
|
|
|
$ntpdserver_rrd = $config['rrd_dir'].'/'.$device['hostname'].'/app-ntpdserver-'.$app['app_id'].'.rrd';
|
2011-09-30 00:19:48 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
if (is_file($ntpdserver_rrd)) {
|
|
|
|
$rrd_filename = $ntpdserver_rrd;
|
2011-10-01 10:10:02 +00:00
|
|
|
}
|
2011-09-30 00:19:48 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
require 'includes/graphs/generic_simplex.inc.php';
|