[2/3] netovpnrw.cgi: Fixes bug13838 - additional file name correction for collectd-5.x
Commit Message
- 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 <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
html/cgi-bin/netovpnrw.cgi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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);
}
}