summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-03-08 19:50:49 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-03-08 19:50:49 +0000
commite3d7c123d84182296f4242208eeacb69c0d965dc (patch)
treed3059847271a4bbc5fc17bd49ffb7922e041a6db /usr/local/www/status_rrd_graph.php
parent4e9cd82858fa2ae487bc7ff3088ef195dbff262b (diff)
downloadpfsense-e3d7c123d84182296f4242208eeacb69c0d965dc.zip
pfsense-e3d7c123d84182296f4242208eeacb69c0d965dc.tar.gz
Commit system throughput graph
Diffstat (limited to 'usr/local/www/status_rrd_graph.php')
-rwxr-xr-xusr/local/www/status_rrd_graph.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php
index 99251f9..9dbd521 100755
--- a/usr/local/www/status_rrd_graph.php
+++ b/usr/local/www/status_rrd_graph.php
@@ -65,6 +65,7 @@ $dbheader = array("allgraphs-traffic.rrd",
"allgraphs-quality.rrd",
"allgraphs-packets.rrd",
"system-allgraphs.rrd",
+ "system-throughput.rrd",
"outbound-quality.rrd",
"outbound-packets.rrd",
"outbound-traffic.rrd");
@@ -205,7 +206,7 @@ include("head.inc");
continue 2;
}
}
- if((file_exists("{$rrddbpath}{$curdatabase}"))) {
+ if(in_array($curdatabase, $databases)) {
echo "<tr><td colspan=2 class=\"list\">\n";
echo "<IMG BORDER='0' name='{$interval}-{$curoption}-{$curdatabase}' ";
echo "id='{$interval}-{$curoption}-{$curdatabase}' ALT=\"$prettydb Graph\" ";
OpenPOWER on IntegriCloud