mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* feature: Allow snmpget in os discovery yaml Convert all remaining os except airos. Affected OS: asuswrt-merlin, ddnons, dsm, extrahop, huaweiups, ibmtl, pcoweb, pktj, qnap, remoteeye4, sentry3, sentry4, tomato There should be not change in detection. * Fix, asuswrt-merlin and tomato with snmpsim. May not have been an issue with actual devices because of -Oa leading " was a bit odd. * missed file
8 lines
181 B
PHP
8 lines
181 B
PHP
<?php
|
|
|
|
// do not move to yaml, this check needs to happen last
|
|
|
|
if (starts_with($sysDescr, 'Linux') || starts_with($sysObjectId, '.1.3.6.1.4.1.8072.3.2.10')) {
|
|
$os = 'linux';
|
|
}
|