diff --git a/app/Http/Controllers/Table/PortsController.php b/app/Http/Controllers/Table/PortsController.php index 4cf91af15109..f42b20c842aa 100644 --- a/app/Http/Controllers/Table/PortsController.php +++ b/app/Http/Controllers/Table/PortsController.php @@ -86,6 +86,8 @@ protected function sortFields($request) 'ifDescr', 'secondsIfLastChange', 'ifConnectorPresent', + 'ifInErrors', + 'ifOutErrors', 'ifInErrors_delta', 'ifOutErrors_delta', 'ifInOctets_rate', @@ -168,6 +170,8 @@ public function formatItem($port) 'ifOutOctets_rate' => $port->ifOutOctets_rate * 8, 'ifInUcastPkts_rate' => $port->ifInUcastPkts_rate, 'ifOutUcastPkts_rate' => $port->ifOutUcastPkts_rate, + 'ifInErrors' => $port->ifInErrors, + 'ifOutErrors' => $port->ifOutErrors, 'ifInErrors_delta' => $port->poll_period ? Number::formatSi($port->ifInErrors_delta / $port->poll_period, 2, 3, 'EPS') : '', 'ifOutErrors_delta' => $port->poll_period ? Number::formatSi($port->ifOutErrors_delta / $port->poll_period, 2, 3, 'EPS') : '', 'ifType' => Rewrite::normalizeIfType($port->ifType), diff --git a/includes/html/pages/ports/list.inc.php b/includes/html/pages/ports/list.inc.php index e26f30a2de3f..c02064a82d2a 100644 --- a/includes/html/pages/ports/list.inc.php +++ b/includes/html/pages/ports/list.inc.php @@ -58,9 +58,15 @@ Packets Out >Errors In + data-css-class="red">Errors In Rate Errors Out Rate + + >Errors In + + Errors Out Media