mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: ntp apps (#4333)
* updated nicecase function for ntp server and client app * ntp applications refactoring * removed agent for ntp-server: reported as not working * removed ntpd from agent polling. thx @murrant
This commit is contained in:
18
html/includes/graphs/application/ntp-server_stratum.inc.php
Normal file
18
html/includes/graphs/application/ntp-server_stratum.inc.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
require 'includes/graphs/common.inc.php';
|
||||
|
||||
$scale_min = 0;
|
||||
$ds = 'stratum';
|
||||
$colour_area = 'FFCECE';
|
||||
$colour_line = '880000';
|
||||
$colour_area_max = 'FFCCCC';
|
||||
$graph_max = 0;
|
||||
$unit_text = 'Stratum';
|
||||
$ntpdserver_rrd = rrd_name($device['hostname'], array('app', 'ntp-server', $app['app_id']));
|
||||
|
||||
if (rrdtool_check_rrd_exists($ntpdserver_rrd)) {
|
||||
$rrd_filename = $ntpdserver_rrd;
|
||||
}
|
||||
|
||||
require 'includes/graphs/generic_simplex.inc.php';
|
Reference in New Issue
Block a user