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

7 lines
142 B
PHP

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