Project

General

Profile

« Previous | Next » 

Revision f0842feb

Added by Scott Ullrich over 19 years ago

Switch RRD graphs to /var/db which is not blown away every bootup.

View differences:

etc/inc/pfsense-utils.inc
1837 1837

  
1838 1838
	global $config, $g;
1839 1839

  
1840
    $rrddbpath = "/var/run/rrd/";
1840
    $rrddbpath = "/var/db/rrd/";
1841 1841
    $rrdgraphpath = "/usr/local/www/rrd";
1842 1842
	$rrdtrafficinterval = 60;
1843 1843
	$rrdqualityinterval = 60;
etc/rc.bootup
274 274

  
275 275
	filter_configure();
276 276
	
277
    /* load graphing functions */
278
    enable_rrd_graphing();	
277
	/* load graphing functions */
278
	enable_rrd_graphing();	
279 279

  
280 280
	/*   start DHCP service again now that CARP has settled
281 281
	 *   incase user is using primary/backup failover dhcp mode
usr/local/www/status_rrd_graph.php
105 105
$graphs['year']['average'] = 86400;
106 106
$graphs['year']['scale'] = "MONTH:1:MONTH:1:MONTH:1:0:%b";
107 107

  
108
$rrddbpath = "/var/run/rrd/";
108
$rrddbpath = "/var/db/rrd/";
109 109
$traffic = "-traffic.rrd";
110 110
$quality = "-quality.rrd";
111 111
$queues = "-queues.rrd";

Also available in: Unified diff