mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	git-svn-id: http://www.observium.org/svn/observer/trunk@2863 61d68cd4-352d-0410-923a-c4978735b2b8
		
			
				
	
	
		
			12 lines
		
	
	
		
			313 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			313 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| if (strstr($poll_device['sysDescr'], "AlterPath"))
 | |
| {
 | |
|   list($hardware, $version) = explode("-", trim(str_replace("version:", "", (str_replace("V_", "", $poll_device['sysDescr'])))), 2);
 | |
|   $hardware = trim($hardware);
 | |
|   $version  = trim($version);
 | |
|   $features = trim(str_replace("#1", "", $version));
 | |
| }
 | |
| 
 | |
| ?>
 |