mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			273 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			273 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
$version = preg_replace('/Cisco ADE-OS /', '', snmp_get($device, "1.3.6.1.2.1.47.1.1.1.1.10.1", "-OQv"));
 | 
						|
$serial = trim(snmp_get($device, "1.3.6.1.2.1.47.1.1.1.1.11.1", "-Ovq"), '"');
 | 
						|
$hardware = trim(snmp_get($device, "1.3.6.1.2.1.47.1.1.1.1.13.1", "-Ovq"), '"');
 |