mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Use data_update instead of rrd_update/rrd_create and influx_update Centralize rrd file check so we can check against a remote rrdcached server too Use rrd_name() to generate rrd file names
		
			
				
	
	
		
			17 lines
		
	
	
		
			269 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			269 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
$rrd_filename = rrd_name($device['hostname'], 'ucd_ssRawContexts');
 | 
						|
 | 
						|
$ds = 'value';
 | 
						|
 | 
						|
$colour_area = '9999cc';
 | 
						|
$colour_line = '0000cc';
 | 
						|
 | 
						|
$colour_area_max = '9999cc';
 | 
						|
 | 
						|
$scale_min = 1;
 | 
						|
 | 
						|
$unit_text = 'Switches/s';
 | 
						|
 | 
						|
require 'includes/graphs/generic_simplex.inc.php';
 |