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:56:41 +0000 (17:56 +0300)
commit38f5b55446ac3f15c3907c06f6a4ea00b4f6a7f3
tree8c35ccc880543450806c6c68c4647b5b6ed884e7
parentc5db28cea8f35d5f6d09719bf0378e72a3143b5e
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