Project

General

Profile

Actions

Bug #12735

closed

Interface status "Total Interrupts" display is non-functional

Added by Jim Pingle about 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Interfaces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

The interface status page status_interfaces.php is supposed to print a section called "Total Interrupts" at the bottom of each physical interface, but it does not.

The handling of that data is broken in a few ways:

  • The result is unset before it tries to display the text, which means it will never show up on the page.
  • Even if the above is corrected, the results are wrong for interfaces with multiple queues.
  • The way the statistics are obtained is inefficient (running vmstat -i separately for every interface), it should gather the stats just once using something closer to vmstat -i --libxo=json at the top and then parse/sum the data from the interpreted result. This will be much more efficient and accurate than relying on the current methods.
Actions

Also available in: Atom PDF