mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Siklu RADIO-BRIGE-MIB provided by user
Added polling files Added system volts and temp
This commit is contained in:
		
							
								
								
									
										15
									
								
								html/includes/graphs/device/siklu_rfAverageCinr.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								html/includes/graphs/device/siklu_rfAverageCinr.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
include("includes/graphs/common.inc.php");
 | 
			
		||||
 | 
			
		||||
$rrdfilename  = $config['rrd_dir'] . "/".$device['hostname']."/siklu-mib.rrd";
 | 
			
		||||
 | 
			
		||||
if (file_exists($rrdfilename)) {
 | 
			
		||||
    $rrd_options .= " COMMENT:'db                        Now    Min     Max\\n'";
 | 
			
		||||
    $rrd_options .= " DEF:rfAverageCinr=".$rrdfilename.":rfAverageCinr:AVERAGE ";
 | 
			
		||||
    $rrd_options .= " LINE1:rfAverageCinr#CC0000:'CINR                 ' ";
 | 
			
		||||
    $rrd_options .= " GPRINT:rfAverageCinr:LAST:%3.2lf ";
 | 
			
		||||
    $rrd_options .= " GPRINT:rfAverageCinr:MIN:%3.2lf ";
 | 
			
		||||
    $rrd_options .= " GPRINT:rfAverageCinr:MAX:%3.2lf\\\l ";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										15
									
								
								html/includes/graphs/device/siklu_rfAverageRssi.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								html/includes/graphs/device/siklu_rfAverageRssi.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
include("includes/graphs/common.inc.php");
 | 
			
		||||
 | 
			
		||||
$rrdfilename  = $config['rrd_dir'] . "/".$device['hostname']."/siklu-mib.rrd";
 | 
			
		||||
 | 
			
		||||
if (file_exists($rrdfilename)) {
 | 
			
		||||
    $rrd_options .= " COMMENT:'dbm                        Now    Min     Max\\n'";
 | 
			
		||||
    $rrd_options .= " DEF:rfAverageRssi=".$rrdfilename.":rfAverageRssi:AVERAGE ";
 | 
			
		||||
    $rrd_options .= " LINE1:rfAverageRssi#CC0000:'RSSI                 ' ";
 | 
			
		||||
    $rrd_options .= " GPRINT:rfAverageRssi:LAST:%3.2lf ";
 | 
			
		||||
    $rrd_options .= " GPRINT:rfAverageRssi:MIN:%3.2lf ";
 | 
			
		||||
    $rrd_options .= " GPRINT:rfAverageRssi:MAX:%3.2lf\\\l ";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										15
									
								
								html/includes/graphs/device/siklu_rfModulationType.inc.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								html/includes/graphs/device/siklu_rfModulationType.inc.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
include("includes/graphs/common.inc.php");
 | 
			
		||||
 | 
			
		||||
$rrdfilename  = $config['rrd_dir'] . "/".$device['hostname']."/siklu-mib.rrd";
 | 
			
		||||
 | 
			
		||||
if (file_exists($rrdfilename)) {
 | 
			
		||||
    $rrd_options .= " COMMENT:'                        Now    Min     Max\\n'";
 | 
			
		||||
    $rrd_options .= " DEF:rfModulationType=".$rrdfilename.":rfModulationType:AVERAGE ";
 | 
			
		||||
    $rrd_options .= " LINE1:rfModulationType#CC0000:'Modulation                 ' ";
 | 
			
		||||
    $rrd_options .= " GPRINT:rfModulationType:LAST:%3.2lf ";
 | 
			
		||||
    $rrd_options .= " GPRINT:rfModulationType:MIN:%3.2lf ";
 | 
			
		||||
    $rrd_options .= " GPRINT:rfModulationType:MAX:%3.2lf\\\l ";
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user