mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-10-31 03:14:31 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			742 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			742 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /* Icinga Web 2 | (c) 2013 Icinga Development Team | GPLv2+ */
 | |
| 
 | |
| namespace Icinga\Module\Monitoring\DataView;
 | |
| 
 | |
| /**
 | |
|  * View for runtimesummary query
 | |
|  */
 | |
| class Runtimesummary extends DataView
 | |
| {
 | |
|     /**
 | |
|      * {@inheritdoc}
 | |
|      */
 | |
|     public function getColumns()
 | |
|     {
 | |
|         return array(
 | |
|             'check_type',
 | |
|             'active_checks_enabled',
 | |
|             'passive_checks_enabled',
 | |
|             'execution_time',
 | |
|             'latency',
 | |
|             'object_count',
 | |
|             'object_type'
 | |
|         );
 | |
|     }
 | |
| 
 | |
|     /**
 | |
|      * {@inheritdoc}
 | |
|      */
 | |
|     public function getSortRules()
 | |
|     {
 | |
|         return array(
 | |
|             'active_checks_enabled' => array(
 | |
|                 'order' => self::SORT_ASC
 | |
|             )
 | |
|         );
 | |
|     }
 | |
| }
 |