diff options
author | thompsa <andy@fud.org.nz> | 2009-12-27 11:36:47 +1300 |
---|---|---|
committer | thompsa <andy@fud.org.nz> | 2009-12-27 11:36:47 +1300 |
commit | ec51a2224e6d25056cf5c12a8b5def5dfb5b1a48 (patch) | |
tree | e5b1b73a9ecb677808d0554b4e35f03e7917103f /usr/local/www/status_rrd_graph.php | |
parent | 2248a940278a5bcad64322ca8d8c591968ca51d8 (diff) | |
download | pfsense-ec51a2224e6d25056cf5c12a8b5def5dfb5b1a48.zip pfsense-ec51a2224e6d25056cf5c12a8b5def5dfb5b1a48.tar.gz |
Add graphing for 3G cellular modems.
Diffstat (limited to 'usr/local/www/status_rrd_graph.php')
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index a1b6f42..618f69b 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -107,6 +107,7 @@ rsort($databases); $dbheader = array("allgraphs-traffic.rrd", "allgraphs-quality.rrd", "allgraphs-wireless.rrd", + "allgraphs-cellular.rrd", "allgraphs-packets.rrd", "system-allgraphs.rrd", "system-throughput.rrd", @@ -148,6 +149,8 @@ include("head.inc"); $tab_array[] = array("QueueDrops", $tabactive, "status_rrd_graph.php?cat=queuedrops"); if($curcat == "wireless") { $tabactive = True; } else { $tabactive = False; } $tab_array[] = array("Wireless", $tabactive, "status_rrd_graph.php?cat=wireless"); + if($curcat == "cellular") { $tabactive = True; } else { $tabactive = False; } + $tab_array[] = array("Cellular", $tabactive, "status_rrd_graph.php?cat=cellular"); if($curcat == "settings") { $tabactive = True; } else { $tabactive = False; } $tab_array[] = array("Settings", $tabactive, "status_rrd_graph_settings.php"); display_top_tabs($tab_array); |