From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cL6gc2xJ5z303c for ; Mon, 08 Sep 2025 13:07:40 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [IPv6:2001:678:b28::25]) (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 RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cL6gY0K2Nz2xHm for ; Mon, 08 Sep 2025 13:07:37 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cL6gW0063z2B for ; Mon, 08 Sep 2025 13:07:34 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1757336855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0QN2d6fNLakW3JCAN5LldUBKTOnAu+ErtJl+DoN7SJA=; b=G7asLNTKiHa5S1/nGr1qk/Z4ESRLtR5FhpKIqc9Cy4O/t41xJqp6TFj5xrle3E5vJzAkId UwfVWD883M4cUpBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757336855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0QN2d6fNLakW3JCAN5LldUBKTOnAu+ErtJl+DoN7SJA=; b=Ohtgx+NT0LX2Ancx7TvoHIwW0DB+v+qyT5UWspPz4g/sGo+Bc0ZCsG1WWYyGzCEa1l9LkP ak4855n4YetB3cRE087XCY2AOvJupXNuYBxFfYJsPNXS0Yy7L96DjVs3ZNRbQvcAHnHwjb INX1kDGUn6fNzQn00bP1UiBk9DKdF8CGAPaA5xOU7DuhWu+vzLiEDoiaFYjc9MdFyVvjPz AmDOB3XcQupheHtS0axb+/vr75zZcuXPEB3IOho1G47xfAo8+ZWXMHj9UOKiSgCD5g71ng uZoQDbd7+whIRNiEMVpHy9kMel54anWYAYwz549/8BdQzqekFjNpMA7mn4Cclw== Message-ID: <42d98f14-ffa8-4513-a5c5-04559d2624a0@ipfire.org> Date: Mon, 8 Sep 2025 15:07:31 +0200 Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Subject: Re: CU197 Testing - OpenVPN Road Warrior Statistics graphs not working. From: Adolf Belka To: "IPFire: Development-List" References: <4d1adf3c-1165-4cbf-917d-ea80c6009209@ipfire.org> Content-Language: en-GB In-Reply-To: <4d1adf3c-1165-4cbf-917d-ea80c6009209@ipfire.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi All, On 03/09/2025 20:21, Adolf Belka wrote: > Hallo All. > > I have found another issue with OpenVPN on CU197 Testing. > > The RW graphs Statistics graphs are not getting updated. > > After some searching around, I found that it was because the collectd.vpn plugin was still saying /var/log/ovpnserver.log > > I discovered that there was an update to the collectd.vpn file but collectd was not shipped in CU197 Testing so it didn't get included. > > I have submitted a patch to ship collectd in CU197 Testing. I have dropped that patch in patchwork. I realised that doing that would update the ovpnserver.log to openvpn-rw.log but it would also remove any n2n entries in collectd.vpn I have submitted two new patches. One for update.sh in CU197, which after running the ovpnmain.cgi file checks if collectd.vpn has the old log file name in it and if so replaces it with the new version. The other patch is to do the same thing in backup.pl for any restores from old backups before CU197. This makes sure that the RW entry is updated but leaves any existing n2n entries alone in collectd.vpn. The above was tested and resulted in working graphs for the RW connection. Regards, Adolf. > > Evaluated the change in my vm and the rw graphs worked again. > > Regards, > > Adolf. >