mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	git-svn-id: http://www.observium.org/svn/observer/trunk@3063 61d68cd4-352d-0410-923a-c4978735b2b8
		
			
				
	
	
		
			28 lines
		
	
	
		
			648 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			648 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
$units           = "b";
 | 
						|
$total_units     = "B";
 | 
						|
$colours_in      = "greens";
 | 
						|
//$multiplier      = "0";
 | 
						|
$colours_out     = "blues";
 | 
						|
 | 
						|
$nototal         = 1;
 | 
						|
 | 
						|
$ds_in           = "traf_in";
 | 
						|
$ds_out          = "traf_out";
 | 
						|
 | 
						|
$graph_title    .= "::bits";
 | 
						|
 | 
						|
$colour_line_in  = "006600";
 | 
						|
$colour_line_out = "000099";
 | 
						|
$colour_area_in  = "CDEB8B";
 | 
						|
$colour_area_out = "C3D9FF";
 | 
						|
 | 
						|
$rrddir          = $config['rrd_dir']."/".$device['hostname'];
 | 
						|
$hostname        = (isset($_GET['hostname']) ? $_GET['hostname'] : "unkown");
 | 
						|
$rrd_filename    = $rrddir."/app-shoutcast-".$app['app_id']."-".$hostname.".rrd";
 | 
						|
 | 
						|
include("includes/graphs/generic_data.inc.php");
 | 
						|
 | 
						|
?>
 |