- An additional rrd file name change missed from collect-5 update.
- This was identified as part of fixing bug13834

Tested-by: Adolf Belka <[email protected]>
Signed-off-by: Adolf Belka <[email protected]>
---
 html/cgi-bin/netovpnsrv.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html/cgi-bin/netovpnsrv.cgi b/html/cgi-bin/netovpnsrv.cgi
index 1fb66e7a4..7bc5d8509 100644
--- a/html/cgi-bin/netovpnsrv.cgi
+++ b/html/cgi-bin/netovpnsrv.cgi
@@ -55,7 +55,7 @@ foreach my $key (sort {$vpnsettings{$a}[1] <=> 
$vpnsettings{$b}[1]} keys %vpnset
 
 my @vpngraphs = `find /var/log/rrd/collectd/localhost/openvpn-*-n2n/ -not  
-path *openvpn-UNDEF* -name *traffic.rrd 2>/dev/null|sort`;
 foreach (@vpngraphs){
-       if($_ =~ /(.*)\/openvpn-(.*)\/if_octets_derive-traffic.rrd/){
+       if($_ =~ /(.*)\/openvpn-(.*)\/if_octets-traffic.rrd/){
                push(@vpns,$2);
        }
 }
-- 
2.49.0


Reply via email to