mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Add security
- In case other devices pop up under the produce-Name.0
This commit is contained in:
		@@ -12,7 +12,7 @@
 | 
			
		||||
 | 
			
		||||
if (!$os) {
 | 
			
		||||
    $ibmtl_snmpget = snmp_get($device, 'SML-MIB:product-Name.0', '-Oqv', '');
 | 
			
		||||
    if (!empty($ibmtl_snmpget)) {
 | 
			
		||||
    if (stristr($ibmtl_snmpget, 'IBM System Storage TS3500 Tape Library')) {
 | 
			
		||||
        $os = 'ibmtl';
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user