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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
if (!$os) {
|
2015-07-28 21:58:50 +02:00
|
|
|
$ibmtl_snmpget = snmp_get($device, 'SML-MIB::product-Name.0', '-Oqv', '');
|
2015-07-28 20:56:09 +02:00
|
|
|
if (stristr($ibmtl_snmpget, 'IBM System Storage TS3500 Tape Library')) {
|
2015-07-22 17:04:37 +02:00
|
|
|
$os = 'ibmtl';
|
2015-07-22 16:59:18 +02:00
|
|
|
}
|
2015-07-28 21:58:50 +02:00
|
|
|
}
|