mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* refactor: More mib based polling into yaml config files * doc update * Update MIB-based-polling.md
10 lines
226 B
PHP
10 lines
226 B
PHP
<?php
|
|
|
|
if (starts_with($sysDescr, 'router') && is_numeric(snmp_get($device, 'SNMPv2-SMI::enterprises.14988.1.1.4.3.0', '-Oqv', ''))) {
|
|
$os = 'routeros';
|
|
}
|
|
|
|
if (starts_with($sysDescr, 'RouterOS')) {
|
|
$os = 'routeros';
|
|
}
|