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 4cPl7C2sFfz2yjl for ; Sun, 14 Sep 2025 10:40:39 +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) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cPl7801pGz2xMw for ; Sun, 14 Sep 2025 10:40:36 +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 4cPl772Vr9z32l; Sun, 14 Sep 2025 10:40:35 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1757846435; 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=u9jWdzln4atmZbTb98rC/B35p1e+IrHBeVnyRofbA1Q=; b=s5jUM5cGwOBPe4FhrpMSHqztoWe308irFCH2bZbOFP6WCbweQWSwHPjjHQTT9ePh5U0Ajt fIeueB49TnBYa7CQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757846435; 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=u9jWdzln4atmZbTb98rC/B35p1e+IrHBeVnyRofbA1Q=; b=LqL1NWc3f635mPANeXJmNYgnDt5BXO7qULJVXraL5gQkfCc+eQz2zb6gVqvQ6gEAvJTW0j Fi+cavQq/ijvXI5v93ommfzQQ9xI5FHOxHewpFddQ61lmAd+uZ/W2Jh2UNX7GHjPPGE9zl pcNlhjFGglRRHpvIJmwxz9+Rs0Eraqxm3URqQv0HPkPWcHQlbye9GOB6ReJNENXpx8Be/p G+CWL+J1C9w4buFFAyz/bgSNS7/pz6YDuoGlYvx3cJEEf3/dwaypViKkQR6F/OyF6l5Eit QZ7AOqK02wRk9SnigU9WldVNs6zzE/cw9pKIZaN7sLBPbCcHMqWZ+Hx/Br4z6A== 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: CU197 Testing - OpenVPN Road Warrior Statistics graphs not working. From: Michael Tremer In-Reply-To: Date: Sun, 14 Sep 2025 11:40:35 +0100 Cc: "IPFire: Development-List" Content-Transfer-Encoding: quoted-printable Message-Id: References: <4d1adf3c-1165-4cbf-917d-ea80c6009209@ipfire.org> <42d98f14-ffa8-4513-a5c5-04559d2624a0@ipfire.org> To: Adolf Belka Sorry, I just overlooked them. I merged them and pushed them just now. -Michael > On 14 Sep 2025, at 11:11, Adolf Belka wrote: >=20 > Hi Michael, >=20 > On 08/09/2025 15:07, Adolf Belka wrote: >> Hi All, >> On 03/09/2025 20:21, Adolf Belka wrote: >>> Hallo All. >>>=20 >>> I have found another issue with OpenVPN on CU197 Testing. >>>=20 >>> The RW graphs Statistics graphs are not getting updated. >>>=20 >>> After some searching around, I found that it was because the = collectd.vpn plugin was still saying /var/log/ovpnserver.log >>>=20 >>> 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. >>>=20 >>> 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. >=20 > The two new patches mentioned above >=20 > = https://lists.ipfire.org/development/20250908125938.3389609-1-adolf.belka@= ipfire.org/T/#t >=20 > have not been merged yet. Have they just been missed or is there a = question about them? >=20 > Regards, >=20 > Adolf. >=20 >> Regards, >> Adolf. >>>=20 >>> Evaluated the change in my vm and the rw graphs worked again. >>>=20 >>> Regards, >>>=20 >>> Adolf.