mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Fix broken repeated RRA config
Since d8693f0 the RRA config section repeats in the file - the second contains MAX instead of the first MIN definition.
			
			
This commit is contained in:
		@@ -191,14 +191,7 @@ $config['snmp']['v3'][0]['cryptopass'] = '';
 | 
			
		||||
// Privacy (Encryption) Passphrase
 | 
			
		||||
$config['snmp']['v3'][0]['cryptoalgo'] = 'AES';
 | 
			
		||||
// AES | DES
 | 
			
		||||
// RRD Format Settings
 | 
			
		||||
// These should not normally be changed
 | 
			
		||||
// Though one could conceivably increase or decrease the size of each RRA if one had performance problems
 | 
			
		||||
// Or if one had a very fast I/O subsystem with no performance worries.
 | 
			
		||||
$config['rrd_rra']  = ' RRA:AVERAGE:0.5:1:2016 RRA:AVERAGE:0.5:6:1440 RRA:AVERAGE:0.5:24:1440 RRA:AVERAGE:0.5:288:1440 ';
 | 
			
		||||
$config['rrd_rra'] .= ' RRA:MAX:0.5:1:720 RRA:MIN:0.5:6:1440     RRA:MIN:0.5:24:775     RRA:MIN:0.5:288:797 ';
 | 
			
		||||
$config['rrd_rra'] .= ' RRA:MAX:0.5:1:720 RRA:MAX:0.5:6:1440     RRA:MAX:0.5:24:775     RRA:MAX:0.5:288:797 ';
 | 
			
		||||
$config['rrd_rra'] .= ' RRA:LAST:0.5:1:1440 ';
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// Autodiscovery Settings
 | 
			
		||||
$config['autodiscovery']['xdp'] = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user