mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
This fixes the ping graphs, since new collectd rrds we need to filter exact.
This commit is contained in:
@@ -55,7 +55,7 @@ if ( $querry[0] =~ "fwhits"){
|
||||
&Header::openpage($Lang::tr{'network traffic graphs others'}, 1, '');
|
||||
&Header::openbigbox('100%', 'left');
|
||||
|
||||
my @pinggraphs = `ls -dA /var/log/rrd/collectd/localhost/ping/*`;
|
||||
my @pinggraphs = `ls -dA /var/log/rrd/collectd/localhost/ping/ping-*`;
|
||||
foreach (@pinggraphs){
|
||||
$_ =~ /(.*)\/ping\/ping-(.*)\.rrd/;
|
||||
push(@pings,$2);
|
||||
|
||||
Reference in New Issue
Block a user