mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Added generic memcached support to dbFacile.*
Remove now obsolete memcached code in: html/ajax_rulesuggest.php Remove all the broken memcached code in: html/pages/device/health/mempool.inc.php html/pages/device/overview/generic/sensor.inc.php html/pages/device/overview/mempools.inc.php html/pages/device/port.inc.php html/pages/device/ports.inc.php html/pages/health/sensors.inc.php includes/polling/functions.inc.php includes/polling/mempools.inc.php includes/polling/ports.inc.php includes/polling/storage.inc.php
This commit is contained in:
		@@ -12,10 +12,6 @@ if (count($sensors)) {
 | 
			
		||||
    echo '      </div>
 | 
			
		||||
        <table class="table table-hover table-condensed table-striped">';
 | 
			
		||||
    foreach ($sensors as $sensor) {
 | 
			
		||||
        if ($config['memcached']['enable'] === true) {
 | 
			
		||||
            $sensor['sensor_current'] = $memcache->get('sensor-'.$sensor['sensor_id'].'-value');
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (empty($sensor['sensor_current'])) {
 | 
			
		||||
            $sensor['sensor_current'] = 'NaN';
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user