public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Cc: Adolf Belka <adolf.belka@ipfire.org>
Subject: [PATCH 2/4] netovpnsrv.cgi: Fixes rrd file names for n2n openvpn graphs
Date: Thu, 15 May 2025 13:49:18 +0200	[thread overview]
Message-ID: <20250515114920.12919-2-adolf.belka@ipfire.org> (raw)
In-Reply-To: <20250515114920.12919-1-adolf.belka@ipfire.org>

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

Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 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	other threads:[~2025-05-15 11:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-15 11:49 [PATCH 1/4] netexternal.cgi: Fixed bug13834 - tun0 graph missing in external net traffic Adolf Belka
2025-05-15 11:49 ` Adolf Belka [this message]
2025-05-15 11:49 ` [PATCH 3/4] red: Fixes rrd file name updates from collectd-5 update Adolf Belka
2025-05-15 11:49 ` [PATCH 4/4] graphs.pl: Update of rrd file names from the " Adolf Belka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250515114920.12919-2-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox