mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	fix: Fixed system temperature from ipmi descr including a space at the end
based on @laf's help, this issue was resolved.
This commit is contained in:
		@@ -22,6 +22,7 @@ if (is_array($ipmi_rows)) {
 | 
			
		||||
 | 
			
		||||
        foreach (explode("\n", $results) as $row) {
 | 
			
		||||
            list($desc, $value, $type, $status) = explode(',', $row);
 | 
			
		||||
            $desc = trim($desc, ' ');
 | 
			
		||||
            $ipmi_sensor[$desc][$config['ipmi_unit'][$type]]['value'] = $value;
 | 
			
		||||
            $ipmi_sensor[$desc][$config['ipmi_unit'][$type]]['unit'] = $type;
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user