This fixes the ping graphs, since new collectd rrds we need to filter exact.
authorChristian Schmidt <maniacikarus@ipfire.org>
Sat, 13 Mar 2010 20:09:07 +0000 (21:09 +0100)
committerChristian Schmidt <maniacikarus@ipfire.org>
Sat, 13 Mar 2010 20:09:07 +0000 (21:09 +0100)
html/cgi-bin/netother.cgi

index e09fe8a..1809abf 100644 (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);