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>
Wed, 31 May 2023 15:11:49 +0000 (18:11 +0300)
commitc9c395920e424cd188a663a6c3f4acfdf8d65012
treee0bb46f0651cac243ed2996ebb4b8e0630a4c3b2
parent9b12a48c3f14beafae09eca99cca5e323ae72893
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>
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