| 
									
										
										
										
											2017-03-22 09:28:50 -05:00
										 |  |  | <?php | 
					
						
							|  |  |  | $name = 'smart'; | 
					
						
							|  |  |  | $app_id = $app['app_id']; | 
					
						
							|  |  |  | $unit_text     = ''; | 
					
						
							|  |  |  | $unitlen       = 10; | 
					
						
							| 
									
										
										
										
											2018-03-13 15:26:23 +02:00
										 |  |  | $bigdescrlen   = 25; | 
					
						
							|  |  |  | $smalldescrlen = 25; | 
					
						
							| 
									
										
										
										
											2017-03-22 09:28:50 -05:00
										 |  |  | $colours       = 'mega'; | 
					
						
							|  |  |  | $dostack       = 0; | 
					
						
							|  |  |  | $printtotal    = 0; | 
					
						
							|  |  |  | $addarea       = 1; | 
					
						
							|  |  |  | $transparency  = 15; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | $rrd_filename = rrd_name($device['hostname'], array('app', $name, $app_id, $vars['disk'])); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | if (rrdtool_check_rrd_exists($rrd_filename)) { | 
					
						
							|  |  |  |     $rrd_list[]=array( | 
					
						
							|  |  |  |         'filename' => $rrd_filename, | 
					
						
							| 
									
										
										
										
											2018-03-13 15:26:23 +02:00
										 |  |  |         'descr'    => 'Temperature_Celsius', | 
					
						
							| 
									
										
										
										
											2017-03-22 09:28:50 -05:00
										 |  |  |         'ds'       => 'id194', | 
					
						
							|  |  |  |     ); | 
					
						
							|  |  |  |     $rrd_list[]=array( | 
					
						
							|  |  |  |         'filename' => $rrd_filename, | 
					
						
							| 
									
										
										
										
											2018-03-13 15:26:23 +02:00
										 |  |  |         'descr'    => 'Airflow_Temperature_Cel', | 
					
						
							| 
									
										
										
										
											2017-03-22 09:28:50 -05:00
										 |  |  |         'ds'       => 'id190', | 
					
						
							|  |  |  |     ); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-04-11 23:26:42 -05:00
										 |  |  | require 'includes/html/graphs/generic_multi_line_exact_numbers.inc.php'; |