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 4cPkTY31n4z312s for ; Sun, 14 Sep 2025 10:11:29 +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 4cPkTV0PL6z2xMw for ; Sun, 14 Sep 2025 10:11:26 +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) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cPkTS2rbGz3Xp; Sun, 14 Sep 2025 10:11:24 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1757844684; 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=nJK/kSfMv6sF5KK+ymVBCVwwapaMd1LJK7YbapEXg5w=; b=xvAZCE85HCQaKf5a4bQz3nEdfUkYr5pWADm2GWZlbUQW7PqyVHgASQ93fiZurkE71wQpYF WjD8gj9ByK0uHTBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757844684; 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=nJK/kSfMv6sF5KK+ymVBCVwwapaMd1LJK7YbapEXg5w=; b=YEnPgmYO6f1bwtZ5ODGsOH3yMeG860VFoG2CP+BxBfczCHOq7MbjZ6KWwOYSC0AtGMpeRe 5UsCvl3cIukYPsCydKXKKQtc+xhHOChe2x3VwD9XGjK5VkZGiV42YNFhm3lBLHtYv/yScz 8t/377kLLh6W/hxgE81Mq8VHMuWeWDvwQcsRNRER7CKr+qetAJgKItNKrDL7KhCi45ualU audoncKleyB6F9AqWgY9HBycGuh0jZoLtpaBpA+/VJLE/t4L5MMgXYJ5Sr22OE9Vav/zjl CyCeBwbHY5Mi1kD91QVyfjelhP2/MfW5dnWu9oGD+I+57BJ72A6lFgheP6yg1g== Message-ID: Date: Sun, 14 Sep 2025 12:11:24 +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: Michael Tremer References: <4d1adf3c-1165-4cbf-917d-ea80c6009209@ipfire.org> <42d98f14-ffa8-4513-a5c5-04559d2624a0@ipfire.org> Content-Language: en-GB Cc: "IPFire: Development-List" In-Reply-To: <42d98f14-ffa8-4513-a5c5-04559d2624a0@ipfire.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Michael, On 08/09/2025 15:07, Adolf Belka wrote: > 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. The two new patches mentioned above https://lists.ipfire.org/development/20250908125938.3389609-1-adolf.belka@ipfire.org/T/#t have not been merged yet. Have they just been missed or is there a question about them? Regards, Adolf. > > Regards, > > Adolf. > > >> >> Evaluated the change in my vm and the rw graphs worked again. >> >> Regards, >> >> Adolf. >> >