Project

General

Profile

Actions

Feature #12586

closed

New widget for States

Added by Patrick Mueller almost 4 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
Normal
Category:
Dashboard
Target version:
-
Start date:
12/11/2021
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Default

Description

Allow to display current states on Dashboard via a small widget.

Common settings which are also available in diag_dump_states.php will make usability quite nice.

Sorted by max IO descending as default. Maybe further options can be made available.

Actions #2

Updated by Patrick Mueller almost 4 years ago

ToDo: Documentation would also need new Widget entry.
https://docs.netgate.com/pfsense/en/latest/monitoring/dashboard-widgets.html

Actions #3

Updated by Jim Pingle over 3 years ago

  • Status changed from New to Rejected

There is a reason we haven't done this already, it doesn't scale and is likely to cause problems.

Reading the states locks pf and can cause performance degradation when done repeatedly. The larger the state table, the bigger the performance hit. Not only would the widget consume resources with large numbers of states (even with limits) reading the states data repeatedly will have a noticeable impact on network throughput if someone is sitting at the dashboard.

We've been working to eliminate these kinds of reads where possible, and adding more is out of the question at this time.

Maybe it could be considered as an add-on package (with tons of warnings discouraging its use) but it's not viable as a part of the base system.

The only place it would make sense is when a system is vastly overpowered for the load it is handling (few states, low throughput, tons of CPU available).

Actions

Also available in: Atom PDF