mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* refactor: OS Discovery files D-H * Combine edgeswitch check * fix my typo * update to fix tests
8 lines
189 B
PHP
8 lines
189 B
PHP
<?php
|
|
|
|
if (starts_with($sysDescr, 'Linux GSE200M')) {
|
|
if (str_contains(snmp_get($device, 'UPS-MIB::upsIdentManufacturer.0', '-Oqv', ''), 'HUAWEI')) {
|
|
$os = 'huaweiups';
|
|
}
|
|
}
|