public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* CU197 Testing - OpenVPN Road Warrior Statistics graphs not working.
@ 2025-09-03 18:21 Adolf Belka
  2025-09-08 13:07 ` Adolf Belka
  0 siblings, 1 reply; 2+ messages in thread
From: Adolf Belka @ 2025-09-03 18:21 UTC (permalink / raw)
  To: IPFire: Development-List

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.

Evaluated the change in my vm and the rw graphs worked again.

Regards,

Adolf.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: CU197 Testing - OpenVPN Road Warrior Statistics graphs not working.
  2025-09-03 18:21 CU197 Testing - OpenVPN Road Warrior Statistics graphs not working Adolf Belka
@ 2025-09-08 13:07 ` Adolf Belka
  0 siblings, 0 replies; 2+ messages in thread
From: Adolf Belka @ 2025-09-08 13:07 UTC (permalink / raw)
  To: IPFire: Development-List

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.
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-09-08 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-03 18:21 CU197 Testing - OpenVPN Road Warrior Statistics graphs not working Adolf Belka
2025-09-08 13:07 ` Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox