luci-app-statistics: enhance tcpconns plugin
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 30 May 2023 16:27:47 +0000 (19:27 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Fri, 2 Jun 2023 14:54:54 +0000 (17:54 +0300)
commitcff0e7613de1570cb4b1cf207aa8970efb4d2f85
treee0bb46f0651cac243ed2996ebb4b8e0630a4c3b2
parentaaddf482d04dbb11450674a59360545856cd017b
luci-app-statistics: enhance tcpconns plugin

Modernize tcpconns plugin to match the features in collectd:

* Support summary of all ports
* 'All listening ports' can be concurrent to specified ports,
  not just alternative

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit c9c395920e424cd188a663a6c3f4acfdf8d65012)
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/tcpconns.js
applications/luci-app-statistics/root/etc/config/luci_statistics
applications/luci-app-statistics/root/usr/share/luci/statistics/plugins/tcpconns.json