mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* Detection for MobileIron appliances * Test data * Remove references for GANDI-MIB Turns out these aren't actually needed for Linux-likes * Remove module filters
11 lines
403 B
PHP
11 lines
403 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Str;
|
|
|
|
// At ths time, MI don't make any customisations to the tree, so we just detect their packages
|
|
if (Str::startsWith($device['sysDescr'], 'Linux') && Str::startsWith($device['sysObjectID'], '.1.3.6.1.4.1.8072.3.2.10')) {
|
|
if (Str::contains(snmp_walk($device, 'hrSWInstalledName', '-Osqnv', 'HOST-RESOURCES-MIB'), 'mobileiron')) {
|
|
$os = 'mobileiron';
|
|
}
|
|
}
|