summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_rrd_graph_settings.php
diff options
context:
space:
mode:
authorDarren Embry <dse@webonastick.com>2012-04-26 18:04:15 -0400
committerDarren Embry <dse@webonastick.com>2012-04-26 18:04:15 -0400
commit0637b0a9894c82d0a0105b35aadcc823da0608ba (patch)
tree7c987c89c0e8db74d6075ad346a6467fc490c83f /usr/local/www/status_rrd_graph_settings.php
parent10c1352e595aeef0f7ce4ea906229e3b40771fe1 (diff)
downloadpfsense-0637b0a9894c82d0a0105b35aadcc823da0608ba.zip
pfsense-0637b0a9894c82d0a0105b35aadcc823da0608ba.tar.gz
fix for Bug #2253 Quality Graphs not generated after 'Reset RRD Data'
Seth Mos wrote: > This needs to call setup_gateways_monitor() in after > enable_rrd_graphing() to fix. Also note: $retval of enable_rrd_graphing() at this point in the code was never used, to my knowledge.
Diffstat (limited to 'usr/local/www/status_rrd_graph_settings.php')
-rwxr-xr-xusr/local/www/status_rrd_graph_settings.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph_settings.php b/usr/local/www/status_rrd_graph_settings.php
index 85061ba..551fccb 100755
--- a/usr/local/www/status_rrd_graph_settings.php
+++ b/usr/local/www/status_rrd_graph_settings.php
@@ -64,7 +64,8 @@ $periods = array("absolute" => gettext("Absolute Timespans"),
if ($_POST['ResetRRD']) {
mwexec('/bin/rm /var/db/rrd/*');
- $retval = enable_rrd_graphing();
+ enable_rrd_graphing();
+ setup_gateways_monitor();
$savemsg = "RRD data has been cleared. New RRD files have been generated.";
} elseif ($_POST) {
unset($input_errors);
OpenPOWER on IntegriCloud