From 264b564c9cf78116b21236472fed08aacfd2b8d1 Mon Sep 17 00:00:00 2001 From: Adolf Belka Date: Mon, 7 Apr 2025 20:43:44 +0200 Subject: [PATCH] netovpnrw.cgi: Fixes bug13838 - additional file name correction for collectd-5.x - One location in netovpnrw.cgi was missed with a filename change coming from the collectd update. - This resulted in missing graph content for the openvpn road warrior graphs. - Tested out on my production IPFire system. Making the change resulted in the grahs being visible again. Fixes: Bug13838 Tested-by: Adolf Belka Signed-off-by: Adolf Belka Signed-off-by: Michael Tremer --- html/cgi-bin/netovpnrw.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/cgi-bin/netovpnrw.cgi b/html/cgi-bin/netovpnrw.cgi index 5014f9a555..fb81e9ffe8 100644 --- a/html/cgi-bin/netovpnrw.cgi +++ b/html/cgi-bin/netovpnrw.cgi @@ -43,7 +43,7 @@ my @vpns=(); my @vpngraphs = `find /var/log/rrd/collectd/localhost/openvpn-*/ -not -path *openvpn-UNDEF* -not -path *openvpn-*n2n* -name *.rrd 2>/dev/null|sort`; foreach (@vpngraphs){ - if($_ =~ /(.*)\/openvpn-(.*)\/if_octets_derive.rrd/){ + if($_ =~ /(.*)\/openvpn-(.*)\/if_octets.rrd/){ push(@vpns,$2); } } -- 2.39.5