OS Detection for Mobileiron Core, Sentry appliances (#11510)

* Detection for MobileIron appliances

* Test data

* Remove references for GANDI-MIB

Turns out these aren't actually needed for Linux-likes

* Remove module filters
This commit is contained in:
Adam Bishop
2020-05-24 21:53:17 +01:00
committed by GitHub
parent 91c04a1d54
commit 3acbd72ab1
7 changed files with 4836 additions and 0 deletions

BIN
html/images/os/mobileiron.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,14 @@
os: mobileiron
type: appliance
group: unix
text: MobileIron
ifXmcbc: true
ifname: true
mib_dir:
- supermicro
- dell
over:
- { graph: device_processor, text: 'Processor Usage' }
- { graph: device_ucd_memory, text: 'Memory Usage' }
- { graph: device_storage, text: 'Storage Usage' }
processor_stacked: true

View File

@@ -0,0 +1,10 @@
<?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';
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff