Add network graph for tun0 interface

This commit is contained in:
Arne Fitzenreiter
2008-09-23 22:08:00 +02:00
parent ca0be93118
commit 9061a36553
2 changed files with 5 additions and 4 deletions

View File

@@ -60,6 +60,7 @@ if ($cgiparams[1] =~ /red/) {
push (@graphs, "ppp0");
}
if (-e "/var/log/rrd/collectd/localhost/interface/if_octets-ipsec0.rrd") {push (@graphs, ("ipsec0"));}
if (-e "/var/log/rrd/collectd/localhost/interface/if_octets-tun0.rrd") {push (@graphs, ("tun0"));}
}elsif ($cgiparams[1] =~ /other/) {
&Header::openpage($Lang::tr{'network traffic graphs others'}, 1, '');
my @pinggraphs = `ls -dA /var/log/rrd/collectd/localhost/ping/*`;