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 4blvy02N37z2ywD for ; Mon, 21 Jul 2025 09:20:24 +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 4blvxw5dP1z2yWW for ; Mon, 21 Jul 2025 09:20:20 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4blvxw1MCKzPV; Mon, 21 Jul 2025 09:20:20 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1753089620; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5hT8HT7djTH2fywBf/CH12BPThgnUZ4vPFwT1hI6eFE=; b=cFTXpFTEAjrulp9n/s9es8ENyd2VYNXZ99MGFt805XDZT4WalMr1HrSn8r02LNsgXHzY53 LiFeeq31oxOyREAA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1753089620; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5hT8HT7djTH2fywBf/CH12BPThgnUZ4vPFwT1hI6eFE=; b=N8yvuLyiHrCZI/woVFZV3rColAzPuYuJaPCxDN9jri0Rxch0on2GrT7M15W54Zv/njS4yZ T2xhk1HgGRFOtZwQU43Kxj9yFXaIwDayFY4NA+64AJJKJipukzvb/Cy32JQpgCWcpJLxxy 8kWAapX54K8KhZhbw8gw8H8QMLJSnv3IK1yURp6944Rqkt0a5nw6QCzn/SDRLUucgI36Bc VFN7w9yO//1ZntUzji15tYNuHcpgJgkqb4Lx1t2pqNt5TfA7GsuYFo7rHGqU01W+GexJvl RL5s3bmj6aeEKeoLLk7hBoAAWAYooFt1jM24z6kYqx/iAPRhLTj1pw2AT0qkOA== Content-Type: text/plain; charset=us-ascii Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: Mime-Version: 1.0 Subject: Re: Collectd openvpn plugin: failed to get data from: /var/run/ovpnserver.log From: Michael Tremer In-Reply-To: <20250719211856.160291-1-robin.roevens@disroot.org> Date: Mon, 21 Jul 2025 10:20:19 +0100 Cc: development@lists.ipfire.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20250719211856.160291-1-robin.roevens@disroot.org> To: Robin Roevens Hello Robin, Good catch. Your patch is what we needed. Thank you. I just merged it into next. -Michael > On 19 Jul 2025, at 22:10, Robin Roevens = wrote: >=20 > Hi all >=20 > 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. > --- >=20 > 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. >=20 > Regards > Robin >=20 >=20 > --=20 > Dit bericht is gescanned op virussen en andere gevaarlijke > inhoud door MailScanner en lijkt schoon te zijn. >=20 >=20