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

7 lines
221 B
PHP

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