mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	* update os polling for ray I changed hardware detection, because in old format i got a hostname instead of hardware. I added features tab also. * Added wireless rate sensors I added sensors for Netbitrate and Maxbirate * deleted old ray.png * added better resolution logo for ray * Update Ray.php * Delete ray.png * Add files via upload * Delete ray.svg * added ray.svg logo * update ray.snmprec * Update Ray.php * Updated json test data * added state support for RAy Radios * Update ray.snmprec
		
			
				
	
	
		
			8 lines
		
	
	
		
			285 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			285 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
$ray_tmp = snmp_get_multi_oid($device, 'productName swVer serialNumber unitType', '-OQs', 'RAY-MIB');
 | 
						|
$hardware      = $ray_tmp['productName'];
 | 
						|
$version       = $ray_tmp['swVer'];
 | 
						|
$serial        = $ray_tmp['serialNumber'];
 | 
						|
$features      = $ray_tmp['unitType'];
 | 
						|
unset($ray_tmp);
 |