From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4bl00G43Vrz2yfD for ; Sat, 19 Jul 2025 21:19:10 +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 RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R11" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4bl00C0ZvMz32vt for ; Sat, 19 Jul 2025 21:19:07 +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 RSA-PSS (4096 bits)) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPS id 4bl00B6dlvz1dL for ; Sat, 19 Jul 2025 21:19:06 +0000 (UTC) Authentication-Results: mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=VKgREUVS; 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=1752959946; a=rsa-sha256; cv=none; b=asN0wmjbdhM7lWgEMG3q54X4K3GWevkwaCHWB7rHFzwWqR+h6OYgKAItqd3G7AIcQe5IYz TvOX72Frc0OZ1bzqagy7IVg906jlm8USVHIoIilmx+JAyFt08fCqHb2bz1e+Mj6jMP8o5L pzNFO2ehoOoFEudgt4U9ULOC9PjwinSl/rT5dZMwNq0ksdG1yRWENuCeBspCAI+JKiKevA dNQDesJqgs7xNJGGwCLEDejDxFET/uwHCyKSeMeHQLb0+ay4NdGs9P3PF8Pu+r0xEb23B1 6A2oILt5usg1yPwmI72eu5ZfTfjgKng/R6iPxWe44oBLc8p77EqKuZOZ7rY4bQ== ARC-Authentication-Results: i=1; mail01.ipfire.org; dkim=pass header.d=disroot.org header.s=mail header.b=VKgREUVS; 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=1752959946; 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=fbiaGzc4coinuervettFZDhJKS+D7dwbC2Epgjg2e0M=; b=riR4cfUfF0CDATNimrKGAzBBExO1hWb1EiOihaKzlbfNIXTM1RuzgR7rrcMlgzVSWRuWLl KozO+epgJX5gJ5FJj1d0FL1HxoWHBuq9ZW0O4lbv3GrM+RKtGfBcUXfHKDPEyldnE3QHK7 t3OZ9tDVjvaejiLz0CoGd01UZB2icXWQLQ9u9aMAmE8nnOzA6vvUVEghUTtbDHe4F4XeVi 0mHJ0XjgYoAyrjU4OSF7PLl6b3snqurOX8k7npEVDWIv/wHyzpXsWOZYi3XgEgYMoRz17Q B08MWSrjpvhgVSLl3TzL5ObixLNLBESxYtXRWz0zzGJhfCC+L5M6F+AIq/GiLw== Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A022622FC4 for ; Sat, 19 Jul 2025 23:19:06 +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]) (amavis, port 10024) with ESMTP id CrERiWBQn7OK for ; Sat, 19 Jul 2025 23:19:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1752959942; bh=F+30sIwK3o+e7yKRHpMeJDboZWk6U9uLosRSIw10eks=; h=From:To:Cc:Subject:Date; b=VKgREUVSSEwxHB/eq2UAWGI8EU4Do79OjkhAa1tSePxZn94DH+MnD/Hyr8lfnP3BO q5cJMtgCUsh6uUISQNweJo3/hTc/zZfXdQsS5iTB1bU+OHJBiA3tMCMj8/vaSLXGTb esFjBTvtxZVOv7MFwYY1zBgmTHdHh4gVpkaL1fnMJG3XNJ3aOfe1k1TEnrlWjPZFHm AWrk50/04WOHVjlRL0TfKxSjCwF3oQcZecHsg3woICaBpNM24SXR6jvifP5Dv5oLac U3bxTClwo2o/QiPEP5y+WhJLy/2T6jCbm9ZyixZneYG2ifbXESmr/4bt5NFJvBzKLk lr1oYr+Ob+MJg== Received: from chojin.roevenslambrechts.be (Chojin.roevenslambrechts.be [192.168.0.50]) (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 62F77399468; Sat, 19 Jul 2025 23:19:00 +0200 (CEST) From: Robin Roevens To: development@lists.ipfire.org Cc: Robin Roevens Subject: Collectd openvpn plugin: failed to get data from: /var/run/ovpnserver.log Date: Sat, 19 Jul 2025 23:10:09 +0200 Message-ID: <20250719211856.160291-1-robin.roevens@disroot.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-RoevensLambrechts-MailScanner-ID: 62F77399468.AB5A3 X-RoevensLambrechts-MailScanner: Found to be clean X-RoevensLambrechts-MailScanner-From: robin.roevens@disroot.org X-RoevensLambrechts-MailScanner-Watermark: 1753564741.19953@4xNhA4TroSO/43t2x6lT6g X-Spamd-Result: default: False [-5.35 / 11.00]; BAYES_HAM(-2.75)[98.90%]; R_DKIM_ALLOW(-1.69)[disroot.org:s=mail]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-1.00)[-1.000]; DKIM_REPUTATION(-0.96)[-0.96224828641844]; DMARC_POLICY_ALLOW(-0.50)[disroot.org,reject]; R_MISSING_CHARSET(0.50)[]; SPF_REPUTATION_SPAM(0.36)[0.12096383253744]; 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)]; RCPT_COUNT_TWO(0.00)[2]; FUZZY_RATELIMITED(0.00)[rspamd.com]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; FROM_EQ_ENVFROM(0.00)[]; ARC_SIGNED(0.00)[lists.ipfire.org:s=202003rsa:i=1]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:50673, ipnet:178.21.23.0/24, country:NL]; 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 X-Rspamd-Queue-Id: 4bl00B6dlvz1dL Hi all I noticed this error in the systemlog of my ipfire core 197 test machine: --- Jul 19 23:44:05 ipfire-test collectd[2452]: openvpn plugin: failed to get data from: /var/run/ovpnserver.log Jul 19 23:44:05 ipfire-test collectd[2452]: read-function of plugin `openvpn/ovpnserver.log' failed. Will suspend it for 240.000 seconds. --- I think this is fixed by changing collectd.vpn config using the new /var/run/openvpn-rw.log, so I created a patch for that. I don't know if there is functionality in collectd to use the new helper binary /usr/local/bin/openvpnctrl output instead of the file? If that is the case, that is then probably a better solution than my patch. Regards Robin -- Dit bericht is gescanned op virussen en andere gevaarlijke inhoud door MailScanner en lijkt schoon te zijn.