librenms/includes/discovery/os/windows.inc.php
2016-09-22 16:59:35 -05:00

10 lines
162 B
PHP

<?php
if (starts_with($sysObjectId, '.1.3.6.1.4.1.311.1.1.3')) {
$os = 'windows';
}
if (str_contains($sysDescr, array('Windows'))) {
$os = 'windows';
}