mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* - Added more graphs for rtt_type: icmpjitter * - use $fields as that is the standard throughout the code.
80 lines
2.5 KiB
PHP
80 lines
2.5 KiB
PHP
<div class="panel-heading">
|
|
<h3 class="panel-title">Average Latency One Way</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<?php
|
|
$graph_array = array();
|
|
$graph_array['device'] = $device['device_id'];
|
|
$graph_array['height'] = '100';
|
|
$graph_array['width'] = '215';
|
|
$graph_array['to'] = $config['time']['now'];
|
|
$graph_array['type'] = 'device_sla_icmpjitter_latency';
|
|
$graph_array['id'] = $vars['id'];
|
|
require 'includes/print-graphrow.inc.php';
|
|
?>
|
|
</div>
|
|
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Average Jitter</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<?php
|
|
$graph_array = array();
|
|
$graph_array['device'] = $device['device_id'];
|
|
$graph_array['height'] = '100';
|
|
$graph_array['width'] = '215';
|
|
$graph_array['to'] = $config['time']['now'];
|
|
$graph_array['type'] = 'device_sla_icmpjitter_jitter';
|
|
$graph_array['id'] = $vars['id'];
|
|
require 'includes/print-graphrow.inc.php';
|
|
?>
|
|
</div>
|
|
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Packet Out of Sequence</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<?php
|
|
$graph_array = array();
|
|
$graph_array['device'] = $device['device_id'];
|
|
$graph_array['height'] = '100';
|
|
$graph_array['width'] = '215';
|
|
$graph_array['to'] = $config['time']['now'];
|
|
$graph_array['type'] = 'device_sla_icmpjitter_oos';
|
|
$graph_array['id'] = $vars['id'];
|
|
require 'includes/print-graphrow.inc.php';
|
|
?>
|
|
</div>
|
|
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Lost Packets (Loss, Skipped, Late Arrival)</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<?php
|
|
$graph_array = array();
|
|
$graph_array['device'] = $device['device_id'];
|
|
$graph_array['height'] = '100';
|
|
$graph_array['width'] = '215';
|
|
$graph_array['to'] = $config['time']['now'];
|
|
$graph_array['type'] = 'device_sla_icmpjitter_lost';
|
|
$graph_array['id'] = $vars['id'];
|
|
require 'includes/print-graphrow.inc.php';
|
|
?>
|
|
</div>
|
|
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">Inter-Arrival Jitter (RFC 1889)</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<?php
|
|
$graph_array = array();
|
|
$graph_array['device'] = $device['device_id'];
|
|
$graph_array['height'] = '100';
|
|
$graph_array['width'] = '215';
|
|
$graph_array['to'] = $config['time']['now'];
|
|
$graph_array['type'] = 'device_sla_icmpjitter_iajitter';
|
|
$graph_array['id'] = $vars['id'];
|
|
require 'includes/print-graphrow.inc.php';
|
|
?>
|
|
</div>
|