| 
									
										
										
										
											2010-07-18 08:51:18 +00:00
										 |  |  | <?php | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-08-01 00:38:01 +00:00
										 |  |  | $rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/port-" . safename($port['ifIndex'] . "-adsl.rrd"); | 
					
						
							| 
									
										
										
										
											2010-07-18 08:51:18 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | $rrd_list[0]['filename'] = $rrd_filename; | 
					
						
							|  |  |  | $rrd_list[0]['descr'] = "Downstream"; | 
					
						
							| 
									
										
										
										
											2011-09-21 11:59:59 +00:00
										 |  |  | $rrd_list[0]['ds'] = "AturCurrOutputPwr"; | 
					
						
							| 
									
										
										
										
											2010-07-18 08:51:18 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | $rrd_list[1]['filename'] = $rrd_filename; | 
					
						
							|  |  |  | $rrd_list[1]['descr'] = "Upstream"; | 
					
						
							| 
									
										
										
										
											2011-09-21 11:59:59 +00:00
										 |  |  | $rrd_list[1]['ds'] = "AtucCurrOutputPwr"; | 
					
						
							| 
									
										
										
										
											2010-07-18 08:51:18 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | $unit_text = "dBm"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | $units=''; | 
					
						
							|  |  |  | $total_units=''; | 
					
						
							|  |  |  | $colours='mixed'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | $scale_min = "0"; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | $nototal = 1; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-03-17 13:25:37 +00:00
										 |  |  | if ($rrd_list) | 
					
						
							|  |  |  | { | 
					
						
							| 
									
										
										
										
											2011-03-17 16:35:18 +00:00
										 |  |  |   include("includes/graphs/generic_multi_line.inc.php"); | 
					
						
							| 
									
										
										
										
											2010-07-18 08:51:18 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2011-03-17 13:25:37 +00:00
										 |  |  | ?>
 |