Files
librenms-librenms/includes/discovery/os/routeros.inc.php

10 lines
226 B
PHP
Raw Normal View History

<?php
2016-09-23 22:13:33 +01:00
if (starts_with($sysDescr, 'router') && is_numeric(snmp_get($device, 'SNMPv2-SMI::enterprises.14988.1.1.4.3.0', '-Oqv', ''))) {
2016-09-22 23:03:44 +03:00
$os = 'routeros';
}
2016-09-23 01:36:45 +03:00
if (starts_with($sysDescr, 'RouterOS')) {
2016-09-22 23:03:44 +03:00
$os = 'routeros';
}