Files
librenms-librenms/includes/discovery/os/quanta.inc.php
stokbaek 7b923ae307 fix: Quanta blade switches are now being correctly detected as Quanta switches (#4358)
* Quanta blade switches are now being correcly detected as Quanta switches

* Fixed syntax error
2016-09-06 17:41:25 +01:00

7 lines
215 B
PHP

<?php
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.4413') || strstr($sysObjectId, '.1.3.6.1.4.1.7244') && (stristr($sysDescr, 'vxworks') || stristr($sysDescr, 'Quanta'))) {
$os = 'quanta';
}
}