Add security

- In case other devices pop up under the produce-Name.0
This commit is contained in:
Rosiak
2015-07-28 20:56:09 +02:00
parent be6fa25a1e
commit ec5457bfa1

View File

@@ -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';
}
}