mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	ignore adsl stats out of sanity (3.2KdB SNR? GET FUCKED CISCO.) Clean up legend for generic_multi_line. Add CISCO-VPDN-MGMT MIBs
git-svn-id: http://www.observium.org/svn/observer/trunk@2694 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
		@@ -15,11 +15,11 @@ $unit_text = str_pad(truncate($unit_text,$unitlen),$unitlen);
 | 
			
		||||
 | 
			
		||||
if($width > "500")
 | 
			
		||||
{
 | 
			
		||||
  $rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)."    Current      Average     Maximum      '";
 | 
			
		||||
  $rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)."Now      Min      Max     Avg\l'";
 | 
			
		||||
  if (!$nototal) { $rrd_options .= " COMMENT:'Total      '"; }
 | 
			
		||||
  $rrd_options .= " COMMENT:'\l'";
 | 
			
		||||
} else {
 | 
			
		||||
  $rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)."Now      Ave      Max     Avg\l'";
 | 
			
		||||
  $rrd_options .= " COMMENT:'".substr(str_pad($unit_text, $descr_len+5),0,$descr_len+5)."Now      Min      Max     Avg\l'";
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -16,7 +16,7 @@ $units='';
 | 
			
		||||
$total_units='';
 | 
			
		||||
$colours='mixed';
 | 
			
		||||
 | 
			
		||||
$scale_min = "0";
 | 
			
		||||
$scale_min  = "0";
 | 
			
		||||
 | 
			
		||||
$nototal = 1;
 | 
			
		||||
 | 
			
		||||
@@ -25,4 +25,4 @@ if ($rrd_list)
 | 
			
		||||
  include("includes/graphs/generic_multi_line.inc.php");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
?>
 | 
			
		||||
?>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user