2015-07-22 16:59:18 +02:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* LibreNMS
|
|
|
|
*
|
|
|
|
* Copyright (c) 2015 Søren Friis Rosiak <sorenrosiak@gmail.com>
|
|
|
|
* This program is free software: you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation, either version 3 of the License, or (at your
|
|
|
|
* option) any later version. Please see LICENSE.txt at the top level of
|
|
|
|
* the source code distribution for details.
|
|
|
|
*/
|
|
|
|
|
2016-09-24 16:24:07 +03:00
|
|
|
$ibmtl_snmpget = snmp_get($device, 'SML-MIB::product-Name.0', '-Oqv', '');
|
|
|
|
|
2016-09-24 17:58:16 +03:00
|
|
|
if (str_contains($ibmtl_snmpget, 'IBM System Storage TS3500 Tape Library', true)) {
|
2016-09-24 16:24:07 +03:00
|
|
|
$os = 'ibmtl';
|
2015-07-28 21:58:50 +02:00
|
|
|
}
|