From patchwork Tue Apr 18 18:45:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Roevens X-Patchwork-Id: 22 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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Q1CYD6j5sz3xDh for ; Tue, 18 Apr 2023 18:45:52 +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 (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Q1CY916YMz9S6; Tue, 18 Apr 2023 18:45:49 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Q1CY84Yrkz30Jg; Tue, 18 Apr 2023 18:45:48 +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 (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Q1CY6647sz2ydt for ; Tue, 18 Apr 2023 18:45:46 +0000 (UTC) Received: from knopi.disroot.org (knopi.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 (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4Q1CY50gMJzMQ for ; Tue, 18 Apr 2023 18:45:45 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=itXhxB0g; 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=1681843546; a=rsa-sha256; cv=none; b=NPlTOJZHgWR1yVudqSrDZXHLTKm+w6EHDHLdZc56sDff5Fljk/PXsb/FNUZEUM4LEhrQyH AbD29z/OwKSTW4+qPLfAXGiXIdsDVpcCtA0hDeWV8qGr+qvrUDJO9eG0iED/6DsBUGnKa6 nISE99spyX9LV9k0OPy5g8k+ovU4s6qin6opHuoEWA6sKiOPLH4uEjm1OZO7y1YDLK978I twLMircpwnTtk4m5XD8r2DJLTvC/m4APjTeW/gwrqAnG9FR+gAMz0yDH4nYzrOD0qtMOh7 itqcba2USX4VEM2kgtkpP1G19geo8NOGJbmgkkiPkR+v0+qJ1SiBTiT4JGvPgA== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=itXhxB0g; 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=1681843546; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=QQmzrz9LRDdu5IERj0RKfA0VZfy0VhvOKeoxXtVkVFw=; b=RSyGAkwobUqTIq4Sk9S5RhH+X22cHYmFsmLrOIVjbjblKTLQnSLUcQ+cpjIxRabVruddnj VW4rvx15wXhiusBOv/oLic0v6hq/a/P6CC36OXUzA/NKFDfjwV5bu0J89JUG5uwQDiDRDd g81D0VRZUyy8H/N5n9pRqMUcDEUjjAASlc1OiGjAiGJ+W1mAq+0G1x5AH+e7kMlNpGctP3 3XrFC6ICgC6eTfiigai4N5fFXcla0Keo+cS0Hg/qnhP/dZryBv1KRLnIT1Vs0iGZEGH1UT K2e6Z7KTL1WZvvWBOEsL5Jh6+0V8xz8lJksTrdpRaS4WQpWfiMRprTDgrHwQdg== Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 49448405DC for ; Tue, 18 Apr 2023 20:45:44 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fdkfLICq0c-f for ; Tue, 18 Apr 2023 20:45:43 +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 D3563D0BC7 for ; Tue, 18 Apr 2023 20:45:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1681843543; bh=8c5p2m/pNAb/5+EzbF5ZHoowXJ8sXRwBRC8/68NiWbU=; h=From:To:Subject:Date:In-Reply-To:References; b=itXhxB0gqRHZmpgU3K4JFE+DaktM+Xh+CbaB0VPWEQcBOLi3cFeWNJhLrTR7QpTc4 yqUbE5qjvc6DAotAqRloTUnPmG/QWw2HzmDtfQnCwo/odaUEbFqN7yGTdtsvTUoJld /gDX8XTUl9X0Fq6UqQLxCVEHSa3axbszqWROzlkHEb+SckgO93dAhMGVhGzjod6ujB 6j5oSIEspB0Eahj6MCzde2EjnmwrXzSiYn3HYalOen60GQzba1V9HuK1b392SkANL1 X//gE751/sWjT+BU/KIqpQ1i6fqctWdZqZYx/nFWsGatt9rRRJ2XZoPkqvtsokBWRs 8G70hwvT7YouA== From: Robin Roevens To: development@lists.ipfire.org Subject: [PATCH v2 0/3] zabbix_agentd: Update to 6.0.16 + add log to logviewer Date: Tue, 18 Apr 2023 20:45:09 +0200 Message-Id: <20230418184512.2235-1-robin.roevens@disroot.org> In-Reply-To: References: MIME-Version: 1.0 X-sicho-MailScanner-ID: D3563D0BC7.A2AA4 X-sicho-MailScanner: Found to be clean X-sicho-MailScanner-From: robin.roevens@disroot.org X-sicho-MailScanner-Watermark: 1682448327.05496@T6LxroP5jKn3KnqtS4x+Pg X-Rspamd-Action: no action X-Rspamd-Server: mail01.haj.ipfire.org X-Rspamd-Queue-Id: 4Q1CY50gMJzMQ X-Spamd-Result: default: False [0.52 / 11.00]; SPF_REPUTATION_SPAM(1.86)[0.61852363191687]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-0.99)[-0.991]; BAYES_HAM(-0.83)[85.16%]; 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]; 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)]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[development@lists.ipfire.org]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[disroot.org:+]; DKIM_REPUTATION(0.00)[0]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:50673, ipnet:178.21.23.0/24, country:NL]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; RCVD_TLS_LAST(0.00)[] X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Hi Michael, all I was forgotten that I could set up Zabbix Agent to simply log to syslog instead of to it's own logs. (It came to me while reading #12922 about adding haproxy to the logviewer) This way the default logviewer can indeed easily parse the zabbix agent logging and there is no seperate log viewer required. The PID of the reporting process is displayed in the section column, so also no problem there. Hence hereby a new patchset. - Patch 1: meanwhile zabbix 6.0.16 is out, so I updated this to 6.0.16 - Patch 2: remains unchanged - Patch 3: now configures the agent to log to syslog and add a section to logs.dat logviewer for filtering on zabbix_agentd logs. Best Regards Robin