librenms/includes/discovery/os/netmanplus.inc.php

12 lines
197 B
PHP
Raw Normal View History

<?php
2015-07-13 18:10:26 +00:00
if (!$os) {
if (preg_match('/^NetMan.*plus/', $sysDescr)) {
$os = 'netmanplus';
}
2015-07-13 18:10:26 +00:00
if (strstr($sysObjectId, '.1.3.6.1.4.1.5491.6')) {
$os = 'netmanplus';
}
}