Files
librenms-librenms/includes/discovery/os/windows.inc.php

10 lines
162 B
PHP
Raw Normal View History

<?php
2016-09-22 22:59:35 +01:00
if (starts_with($sysObjectId, '.1.3.6.1.4.1.311.1.1.3')) {
2016-09-22 02:47:07 +03:00
$os = 'windows';
2016-09-22 03:58:29 +03:00
}
if (str_contains($sysDescr, array('Windows'))) {
2016-09-22 02:10:50 +03:00
$os = 'windows';
}