From patchwork Fri Oct 27 19:40:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Roevens X-Patchwork-Id: 7295 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4SHChg0JGWz3wmt for ; Fri, 27 Oct 2023 19:41:23 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4SHChc3lY9z1wf; Fri, 27 Oct 2023 19:41:20 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4SHChc1dFYz3011; Fri, 27 Oct 2023 19:41:20 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4SHChY4T45z2xX5 for ; Fri, 27 Oct 2023 19:41:17 +0000 (UTC) Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4SHChX4s0jz1XP for ; Fri, 27 Oct 2023 19:41:16 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=fP4+kExq; spf=pass (mail01.ipfire.org: domain of robin.roevens@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=robin.roevens@disroot.org; dmarc=pass (policy=reject) header.from=disroot.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1698435676; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=VEixui1uVm7efJ4l4sujP+OH8W7AdbToj31Mxt6aAbM=; b=qezObOLIla38mWU6kcgSusSS87eVJ/DAagrnSj0ftXWUavMz2Bs7lQdi8IYoMeOUSJKHah BBAmwONGXLTEhnOWoEo5q52Idoc2qmg5IIKIVjfEB9u5titYj0+3VbNe0Kv1cFuq6UjEH+ Mh4ONPZUX32pasW6iAlplxpJ6FO3ikhnhMrkvcQcDVt8oSXaHXT7BBIOX+Qxba+DQQCHzL HcYc6LN3YJB2mrl09tfpTfU0pPiqhojREaxIyZZZSd/R0vlshBZg2R2ef+y0g6Pmr2doj0 qp3rmfr52ra7bi3aUuov7fZCN1twTnBnIEILhKbq7be1eO+7J7ZP/S3v6BBTfg== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=fP4+kExq; spf=pass (mail01.ipfire.org: domain of robin.roevens@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=robin.roevens@disroot.org; dmarc=pass (policy=reject) header.from=disroot.org ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1698435676; a=rsa-sha256; cv=none; b=NDEfwNtDEetonh2AMNdgq8FhmxS3aGQ1JrEsimPH65N5nZ8Enl6QTJYvwqgsHKPwj7GbAM E//megoUrIWhkfvb8YdLYdv6IUi2JykHsYs8eOxH9+e067aLQpkowwCCEfQAmIcR3L5h0b Qj1zhs0lBtsOLqPKb0OJa6NQRlFSvlcmC6lTey447zZgDheb3T3nzETS7XefFK+t+JHPDJ +0vLAnfXKUNPycJY6cBPphnOCJhBOL8K609Z912KH7hhNr4P1PHJU6XL63ae1jtzNGYzIh LcvOE/6FX+QR72gijKhPMK10ELBhUxh8loBkfcyfZU4GSTSxl3WzOEh7j0pZhA== Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 27F8741BB1 for ; Fri, 27 Oct 2023 21:41:15 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PVQPQpSLh7Lk for ; Fri, 27 Oct 2023 21:41:14 +0200 (CEST) Received: from chojin.sicho.home (amaterasu.sicho.home [192.168.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (no client certificate requested) (Authenticated sender) by hachiman (MailScanner Milter) with SMTP id 86B2612BEA7; Fri, 27 Oct 2023 21:41:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1698435674; bh=GALdkbdFUiin2ynZQaoXT3n3nnPkMF8VEiKUl+B2aPM=; h=From:To:Cc:Subject:Date; b=fP4+kExqh4ZesUyjvp2wYYzYukSfWEQ7TaJZt8wPLQlHTdh/w5r0bHTVRznmRr9u8 jZ9dQU+YUU+DOateTKLGWQHBbrn2J06ljKZJoLPYQekL/IpSD/nZECAuAYNAgw6n0N o370wow3EEYWmwV9zo/mqcvZWX/YYluI1eyEnF3w9G5VB2zQ61yEIgbXMv7g0zeYd1 4/g5hD0xMKYp7Fk8mSMoGFjVBGiV8j1W6Sa+zFuubfxzTd5AUqzvpPvNPneTNPlIVx KTO+PE2VYF/R6O5qKZJb1b8/iAhRom5+Sj+NSsNLTI3j3Ol479rVbFEiB42bE6lliP btdbr+xp+9zLA== From: Robin Roevens To: development@lists.ipfire.org Subject: [PATCH 1/2] zabbix_agentd: Update to 6.0.22 (LTS) Date: Fri, 27 Oct 2023 21:40:55 +0200 Message-ID: <20231027194056.29039-1-robin.roevens@disroot.org> MIME-Version: 1.0 X-sicho-MailScanner-ID: 86B2612BEA7.A8A80 X-sicho-MailScanner: Found to be clean X-sicho-MailScanner-From: robin.roevens@disroot.org X-sicho-MailScanner-Watermark: 1699040468.83524@MKHgR+QKr380UbZeiMQM3Q X-Rspamd-Queue-Id: 4SHChX4s0jz1XP X-Spamd-Result: default: False [-1.93 / 11.00]; BAYES_HAM(-3.00)[99.99%]; SPF_REPUTATION_SPAM(1.59)[0.52838063449848]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[disroot.org,reject]; R_MISSING_CHARSET(0.50)[]; R_SPF_ALLOW(-0.20)[+a]; R_DKIM_ALLOW(-0.20)[disroot.org:s=mail]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; IP_REPUTATION_HAM(-0.01)[asn: 50673(0.00), country: NL(-0.01), ip: 178.21.23.139(0.00)]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FUZZY_BLOCKED(0.00)[rspamd.com]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; ASN(0.00)[asn:50673, ipnet:178.21.23.0/24, country:NL]; DKIM_REPUTATION(0.00)[0]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[disroot.org:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[development@lists.ipfire.org]; FROM_HAS_DN(0.00)[] X-Rspamd-Action: no action X-Rspamd-Server: mail01.haj.ipfire.org Message-ID-Hash: 22QFWPTQWGC2A3B6OJWXEF3S5MXU4HCI X-Message-ID-Hash: 22QFWPTQWGC2A3B6OJWXEF3S5MXU4HCI X-MailFrom: robin.roevens@disroot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: - Update from version 6.0.21 to 6.0.22 - Update of rootfile not required Bugs fixed: - ZBX-23417: Fixed possible memory leak when checking modbus.get[] item New Features and Improvements: - ZBXNEXT-6554: Increased remote command execution limits to 16MB Full changelogs since 6.0.21: - https://www.zabbix.com/rn/rn6.0.22 --- lfs/zabbix_agentd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/zabbix_agentd b/lfs/zabbix_agentd index 7c0d01150..0033d9a2c 100644 --- a/lfs/zabbix_agentd +++ b/lfs/zabbix_agentd @@ -26,7 +26,7 @@ include Config SUMMARY = Zabbix Agent -VER = 6.0.21 +VER = 6.0.22 THISAPP = zabbix-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = zabbix_agentd -PAK_VER = 10 +PAK_VER = 11 DEPS = fping @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 0928695a5f2729765a5b1fa31df410d585b50ef40a9d8379d6243c256c88234ac916bfaf13f62a8e28bb8fb4be48e83c1aecfd01f66dc45d4e25a20761d8ef82 +$(DL_FILE)_BLAKE2 = bba7911a24b00827c58d84938b5786d07f1eb44cbcad94cddf68b484ac9a2f514beb60225d006b8cefc5bbf92e51da27f26d9f6681e10f6322ed0841394e8d9d install : $(TARGET) From patchwork Fri Oct 27 19:49:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Roevens X-Patchwork-Id: 7296 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4SHCt41zqJz3wv6 for ; Fri, 27 Oct 2023 19:49:32 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4SHCt30G1bz1XP; Fri, 27 Oct 2023 19:49:31 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4SHCt24PWVz33fk; Fri, 27 Oct 2023 19:49:30 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) client-signature ECDSA (secp384r1)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4SHCt10r0Yz2xrm for ; Fri, 27 Oct 2023 19:49:29 +0000 (UTC) Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4SHCsz72Vtz84 for ; Fri, 27 Oct 2023 19:49:27 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=IlqimqmU; spf=pass (mail01.ipfire.org: domain of robin.roevens@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=robin.roevens@disroot.org; dmarc=pass (policy=reject) header.from=disroot.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ipfire.org; s=202003rsa; t=1698436168; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=iyd4U7vT47n/R0QOj6cmcckqUEO0WRsJjlwhXvBv1mo=; b=LifGWXGRAvqcrOo2mjBnZhTVkSzOpAoV/VtbkbRc/zgbZuFe+QRql/Up7Jx/KByrKLQTUn z48qZXE4VM0Uu9Ypa13BWybSiF2XKzfnRkiKxvkkShC7gFmvxd+bcpScxsppJyP2cdUbPr MAdGx+Td7TSkbRB6r+wjLdS/LLR6TXu3/fPcpxzX8wdsj+WQEqoz8L7lBZCqPz4GxG8cV2 A8TNoRqnmUYFBkwtTKiZbfcQdENs+UUB/rHqcRSrl4DzkuANMBkCRPoEyFpaGsDxMMgxao BPyFOqjuv6E7NeQdADEzbkSK0WyldD11TuXJFQAXqOBKjlWLSDY79DgD3m6ARA== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=IlqimqmU; spf=pass (mail01.ipfire.org: domain of robin.roevens@disroot.org designates 178.21.23.139 as permitted sender) smtp.mailfrom=robin.roevens@disroot.org; dmarc=pass (policy=reject) header.from=disroot.org ARC-Seal: i=1; s=202003rsa; d=lists.ipfire.org; t=1698436168; a=rsa-sha256; cv=none; b=QDIJkXnvT4ck0+WkOBrAz/3hcdvYSp5MxM3siY0SUIJFtiW7AoBCHU5Q/6gqMfBaoDIb80 xjZOdoKn3FHPyUSAnyVE2jkE2Fr7TPPsxMoFmMYq12WPsPnqndVyH4AOToLc+Vn8EbTfuW vRnwcwLa4UqDJQ7yw/6qg8W5WrLaUdKmFjQsQDylc/SOY/MKiBTfRYXOJTkK/g8EeStPCA L1Fwx+sGm2KZNcKGS1teBsSJqkfxURgWxGXb5Vwdjoq7LH12h1wFHF6LDDJdqYlvKW5+9a PMY1XGcYmKS0ne+M8LAZMlSH63JyvzH6eOj1/Ox1PcRRsv3LfgSpcBysQrTiTQ== Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1CE9144E06 for ; Fri, 27 Oct 2023 21:49:27 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ln9wdDdNUblH for ; Fri, 27 Oct 2023 21:49:26 +0200 (CEST) Received: from chojin.sicho.home (amaterasu.sicho.home [192.168.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (no client certificate requested) (Authenticated sender) by hachiman (MailScanner Milter) with SMTP id A447C12BEE3; Fri, 27 Oct 2023 21:49:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1698436166; bh=/paABpBAs4esO/ssb2+YIDoRNB0BBhapK0wNENVoXIE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=IlqimqmUOSXaMDGzhGf299WvFb4WmP1fU7j8fJkvnuAN9RzH4fA0fOFMZpGzfqwpc iSj4gzx9YD5zTvbeg71IBx0PMhkJze4dZctIXhalRWM2NbwjTYm1izIjV1oiJb4fkf 7uzkWKaAPjsij4pTcHZ4LgU9ozqwW+UGxRBdtR16em7HXLd2UysWWzvdaUDjem+hqn 6SBA6rHf7r3t52ATVvkWD3Ih6XUtgZUlgS314rnCoyGCPnyd+N46EfvfKF2mvhcDpo QVEEezVdc0xqYA/Tne0KJJo1799QzTlrBPdPoLK2CGTkKGubbtC8R/cR/pOMNR6y2y ZP8JA9rquELAg== From: Robin Roevens To: development@lists.ipfire.org Subject: [PATCH 2/2] zabbix_agentd: Fix ipfire.net.gateway.ping Date: Fri, 27 Oct 2023 21:49:01 +0200 Message-ID: <20231027194901.31387-1-robin.roevens@disroot.org> In-Reply-To: <20231027194056.29039-1-robin.roevens@disroot.org> References: <20231027194056.29039-1-robin.roevens@disroot.org> MIME-Version: 1.0 X-sicho-MailScanner-ID: A447C12BEE3.A8A80 X-sicho-MailScanner: Found to be clean X-sicho-MailScanner-From: robin.roevens@disroot.org X-sicho-MailScanner-Watermark: 1699040960.03256@v7UMWY1amuPPTSNDU6tG9w X-Rspamd-Queue-Id: 4SHCsz72Vtz84 X-Spamd-Result: default: False [-5.96 / 11.00]; REPLY(-4.00)[]; BAYES_HAM(-3.00)[99.99%]; SPF_REPUTATION_SPAM(1.56)[0.51910224411885]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[disroot.org,reject]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[disroot.org:s=mail]; R_SPF_ALLOW(-0.20)[+a:c]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; IP_REPUTATION_HAM(-0.01)[asn: 50673(0.00), country: NL(-0.01), ip: 178.21.23.139(0.00)]; FUZZY_BLOCKED(0.00)[rspamd.com]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_REPUTATION(0.00)[0]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[disroot.org:+]; ASN(0.00)[asn:50673, ipnet:178.21.23.0/24, country:NL]; RCVD_COUNT_THREE(0.00)[3]; PREVIOUSLY_DELIVERED(0.00)[development@lists.ipfire.org]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[] X-Rspamd-Action: no action X-Rspamd-Server: mail01.haj.ipfire.org Message-ID-Hash: W4EEFX7PA7257BPXEYJ5OYHE3H654LLP X-Message-ID-Hash: W4EEFX7PA7257BPXEYJ5OYHE3H654LLP X-MailFrom: robin.roevens@disroot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: IPFire development talk Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Fixes custom IPFire Zabbix Agent userparameter ipfire.net.gateway.ping returning 1 (success) when fping failed for other reasons (rc 2,3 or 4) than host unreachable (rc 0). --- config/zabbix_agentd/userparameter_ipfire.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/zabbix_agentd/userparameter_ipfire.conf b/config/zabbix_agentd/userparameter_ipfire.conf index b8b512d82..ba0c6c2ca 100644 --- a/config/zabbix_agentd/userparameter_ipfire.conf +++ b/config/zabbix_agentd/userparameter_ipfire.conf @@ -3,7 +3,7 @@ # Internet Gateway ping timings, can be used to measure "Internet Line Quality" UserParameter=ipfire.net.gateway.pingtime,sudo /usr/sbin/fping -c 3 gateway 2>&1 | tail -n 1 | awk '{print $NF}' | cut -d '/' -f2 # Internet Gateway availability, can be used to check Internet connection -UserParameter=ipfire.net.gateway.ping,sudo /usr/sbin/fping -q -r 3 gateway; [ ! $? ]; echo $? +UserParameter=ipfire.net.gateway.ping,sudo /usr/sbin/fping -q -r 3 gateway; [ ! $? == 0 ]; echo $? # Firewall Filter Forward chain drops in bytes/chain (JSON), can be used for discovery of firewall chains and monitoring of firewall hits on each chain UserParameter=ipfire.net.fw.hits.raw,sudo /usr/local/bin/getipstat -xf | grep "/\* DROP_.* \*/$" | awk 'BEGIN { ORS = ""; print "["} { printf "%s{\"chain\": \"%s\", \"bytes\": \"%s\"}", separator, substr($11, 6), $2; separator = ", "; } END { print"]" }' # Number of currently Active DHCP leases