if ( $querry[0] =~ "fwhits"){
print "Content-type: image/png\n\n";
binmode(STDOUT);
- &Graphs::updatefwhitsgraph($querry[0],$querry[1]);
+ &Graphs::updatefwhitsgraph($querry[1]);
}elsif ( $querry[0] ne ""){
print "Content-type: image/png\n\n";
binmode(STDOUT);
&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);
&Graphs::makegraphbox("netother.cgi","fwhits","day");
&Header::closebox();
+ my $output = '';
+
+ &Header::openbox('100%', 'left', $Lang::tr{'routing table entries'});
+ $output = `/sbin/ip route show`;
+ $output = &Header::cleanhtml($output,"y");
+ print "<pre>$output</pre>\n";
+ &Header::closebox();
+
+ &Header::openbox('100%', 'left', $Lang::tr{'arp table entries'});
+ $output = `/sbin/ip neigh show`;
+ $output = &Header::cleanhtml($output,"y");
+ print "<pre>$output</pre>\n";
+ &Header::closebox();
+
&Header::closebigbox();
&Header::closepage();
}