This fixes the ping graphs, since new collectd rrds we need to filter exact.

This commit is contained in:
Christian Schmidt
2010-03-13 21:09:07 +01:00
parent 1ddefbbdc8
commit 26eed11e17

View File

@@ -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);