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';
|
2016-09-10 15:37:00 +03:00
|
|
|
$ntpdserver_rrd = rrd_name($device['hostname'], array('app', 'ntp-server', $app['app_id']));
|
2011-09-30 00:19:48 +00:00
|
|
|
|
2016-07-08 15:09:11 -05:00
|
|
|
if (rrdtool_check_rrd_exists($ntpdserver_rrd)) {
|
2015-07-10 13:36:21 +02:00
|
|
|
$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';
|