mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	@@ -20,8 +20,6 @@
 | 
			
		||||
*
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
global $config;
 | 
			
		||||
 | 
			
		||||
$graphs = array(
 | 
			
		||||
    'ups-nut_remaining' => 'Remaining time: ',
 | 
			
		||||
    'ups-nut_load' => 'Load: ',
 | 
			
		||||
@@ -34,7 +32,7 @@ foreach ($graphs as $key => $text) {
 | 
			
		||||
    $graph_type            = $key;
 | 
			
		||||
    $graph_array['height'] = '100';
 | 
			
		||||
    $graph_array['width']  = '215';
 | 
			
		||||
    $graph_array['to']     = $config['time']['now'];
 | 
			
		||||
    $graph_array['to'] = \LibreNMS\Config::get('time.now');
 | 
			
		||||
    $graph_array['id']     = $app['app_id'];
 | 
			
		||||
    $graph_array['type']   = 'application_'.$key;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user