| 
									
										
										
										
											2011-11-28 17:15:42 +00:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | require 'includes/graphs/common.inc.php'; | 
					
						
							| 
									
										
										
										
											2012-04-05 16:47:39 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | $rrd_filename = $config['rrd_dir'].'/'.$device['hostname'].'/vpdn-l2tp.rrd'; | 
					
						
							| 
									
										
										
										
											2011-11-28 17:15:42 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | $stats = array('sessions'); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | $i = 0; | 
					
						
							|  |  |  | foreach ($stats as $stat) { | 
					
						
							|  |  |  |     $i++; | 
					
						
							|  |  |  |     $rrd_list[$i]['filename'] = $rrd_filename; | 
					
						
							|  |  |  |     $rrd_list[$i]['ds']       = $stat; | 
					
						
							| 
									
										
										
										
											2011-11-28 17:15:42 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | $colours = 'mixed'; | 
					
						
							| 
									
										
										
										
											2011-11-28 17:15:42 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | $nototal    = 1; | 
					
						
							| 
									
										
										
										
											2011-11-28 17:15:42 +00:00
										 |  |  | $simple_rrd = 1; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-10 13:36:21 +02:00
										 |  |  | require 'includes/graphs/generic_multi_line.inc.php'; |