mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-10-31 11:24:51 +01:00 
			
		
		
		
	Perfdata: add function to get perfdata unit
This commit is contained in:
		
							parent
							
								
									82e02c8ce1
								
							
						
					
					
						commit
						57f966734a
					
				| @ -214,6 +214,16 @@ class Perfdata | ||||
|         return $this->value; | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * Return the unit as a string | ||||
|      * | ||||
|      * @return string | ||||
|      */ | ||||
|     public function getUnit() | ||||
|     { | ||||
|         return $this->unit; | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|      * Return the value as percentage (0-100) | ||||
|      * | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user