summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_gateways.php
diff options
context:
space:
mode:
authorDenny Page <dennypage@me.com>2016-01-18 16:11:57 -0800
committerDenny Page <dennypage@me.com>2016-01-18 16:11:57 -0800
commitb90e4de2d8b228dba30a61c5f4cc3a11cdf4ce63 (patch)
treef88e13f6620478b03b371efba26b3046de75f3ed /src/usr/local/www/status_gateways.php
parenta683fa0aec68bda1b235d999b365289832c9bbdf (diff)
downloadpfsense-b90e4de2d8b228dba30a61c5f4cc3a11cdf4ce63.zip
pfsense-b90e4de2d8b228dba30a61c5f4cc3a11cdf4ce63.tar.gz
Add standard deviation to gateway status and widget
Diffstat (limited to 'src/usr/local/www/status_gateways.php')
-rw-r--r--src/usr/local/www/status_gateways.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/usr/local/www/status_gateways.php b/src/usr/local/www/status_gateways.php
index 8cb37e5..6c42513 100644
--- a/src/usr/local/www/status_gateways.php
+++ b/src/usr/local/www/status_gateways.php
@@ -99,6 +99,7 @@ display_top_tabs($tab_array);
<th><?=gettext("Gateway"); ?></th>
<th><?=gettext("Monitor"); ?></th>
<th><?=gettext("RTT"); ?></th>
+ <th><?=gettext("RTTsd"); ?></th>
<th><?=gettext("Loss"); ?></th>
<th><?=gettext("Status"); ?></th>
<th><?=gettext("Description"); ?></th>
@@ -135,6 +136,15 @@ display_top_tabs($tab_array);
<td>
<?php
if ($gateways_status[$gname]) {
+ echo $gateways_status[$gname]['stddev'];
+ } else {
+ echo gettext("Pending");
+ }
+?>
+ </td>
+ <td>
+<?php
+ if ($gateways_status[$gname]) {
echo $gateways_status[$gname]['loss'];
} else {
echo gettext("Pending");
OpenPOWER on IntegriCloud