Commit version 24.12.13800
This commit is contained in:
@ -5,19 +5,19 @@
|
||||
*
|
||||
* This file is part of Observium.
|
||||
*
|
||||
* @package observium
|
||||
* @subpackage graphs
|
||||
* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2019 Observium Limited
|
||||
* @package observium
|
||||
* @subpackage graphs
|
||||
* @copyright (C) Adam Armstrong
|
||||
*
|
||||
*/
|
||||
|
||||
$nototal = 1;
|
||||
$nototal = 1;
|
||||
|
||||
$ds_in = "packets_recv";
|
||||
$ds_out = "packets_sent";
|
||||
$ds_in = "packets_recv";
|
||||
$ds_out = "packets_sent";
|
||||
|
||||
$graph_title .= "::packets";
|
||||
$unit_text = "Packets";
|
||||
$graph_title .= "::packets";
|
||||
$unit_text = "Packets";
|
||||
|
||||
$colour_line_in = $config['colours']['graphs']['pkts']['in_line'];
|
||||
$colour_line_out = $config['colours']['graphs']['pkts']['out_line'];
|
||||
@ -26,13 +26,12 @@ $colour_area_out = $config['colours']['graphs']['pkts']['out_area'];
|
||||
$colour_area_in_max = $config['colours']['graphs']['pkts']['in_max'];
|
||||
$colour_area_out_max = $config['colours']['graphs']['pkts']['out_max'];
|
||||
|
||||
$ntpdserver_rrd = get_rrd_path($device, "app-ntpdserver-".$app['app_id'].".rrd");
|
||||
$ntpdserver_rrd = get_rrd_path($device, "app-ntpdserver-" . $app['app_id'] . ".rrd");
|
||||
|
||||
if (rrd_is_file($ntpdserver_rrd))
|
||||
{
|
||||
$rrd_filename = $ntpdserver_rrd;
|
||||
if (rrd_is_file($ntpdserver_rrd)) {
|
||||
$rrd_filename = $ntpdserver_rrd;
|
||||
}
|
||||
|
||||
include($config['html_dir']."/includes/graphs/generic_duplex.inc.php");
|
||||
include($config['html_dir'] . "/includes/graphs/generic_duplex.inc.php");
|
||||
|
||||
// EOF
|
||||
|
Reference in New Issue
Block a user