mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	- More adjustments. Done after the big cleanup PR I’ve gone through discovery and polling folders.
		
			
				
	
	
		
			5 lines
		
	
	
		
			185 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
		
			185 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| $hardware = trim(snmp_get($device, "1.3.6.1.4.1.3854.1.1.6.0", "-OQv", "", ""),'"');
 | |
| $hardware .= ' ' . trim(snmp_get($device, "1.3.6.1.4.1.3854.1.1.8.0", "-OQv", "", ""),'" ');
 |