From 82f6aa5a21ee3786d27a879ce101c124038dfae9 Mon Sep 17 00:00:00 2001 From: Maxim Storchak Date: Fri, 2 Jun 2023 17:53:18 +0300 Subject: [PATCH] collectd: enable AllPortsSummary for tcpconns plugin Signed-off-by: Maxim Storchak (cherry picked from commit 8270bd173ed9e4aa8877bfaa4e23c59223dca9f1) [remove AUTORELEASE at the same time] --- utils/collectd/Makefile | 2 +- utils/collectd/files/collectd.uci | 3 ++- utils/collectd/files/usr/share/collectd/plugin/tcpconns.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index 4b4e216f98..94c8196ecf 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=collectd PKG_VERSION:=5.12.0 -PKG_RELEASE:=$(AUTORELEASE) +PKG_RELEASE:=34 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://collectd.org/files/ \ diff --git a/utils/collectd/files/collectd.uci b/utils/collectd/files/collectd.uci index a716e93f0f..4c05654eac 100644 --- a/utils/collectd/files/collectd.uci +++ b/utils/collectd/files/collectd.uci @@ -188,7 +188,8 @@ config globals 'globals' #config plugin 'tcpconns' # option enable '0' -# list ListeningPort '0' +# option ListeningPorts '0' +# option AllPortsSummary '0' # list LocalPort '22' # list LocalPort '80' diff --git a/utils/collectd/files/usr/share/collectd/plugin/tcpconns.json b/utils/collectd/files/usr/share/collectd/plugin/tcpconns.json index 56a4c81ed4..ec3f718908 100644 --- a/utils/collectd/files/usr/share/collectd/plugin/tcpconns.json +++ b/utils/collectd/files/usr/share/collectd/plugin/tcpconns.json @@ -1,6 +1,7 @@ { "bool": [ - "ListeningPorts" + "ListeningPorts", + "AllPortsSummary" ], "list": [ "LocalPort",