* update some mibs

* add virtual router ports

* coding style

* refactor

* some refactoring

* some typos

* add snmprec

* Fix capturing VRF entries with no ports

* updated test data

* manually fix test data

Not going to try to fix the data capture for backslashes at this time.

* Revert "manually fix test data"

This reverts commit 2c98450706.

* timos data for net-snmp 5.7.3 ?????
This commit is contained in:
Vitali Kari
2018-12-20 23:04:24 +01:00
committed by Tony Murray
parent 206f23b1ce
commit 272e511964
11 changed files with 87811 additions and 27337 deletions

View File

@@ -304,6 +304,10 @@ if ($device['os'] == 'cmm') {
require_once 'ports/cmm.inc.php';
}
if ($device['os'] == 'timos') {
require_once 'ports/timos.inc.php';
}
if ($config['enable_ports_adsl']) {
$device['xdsl_count'] = dbFetchCell("SELECT COUNT(*) FROM `ports` WHERE `device_id` = ? AND `ifType` in ('adsl','vdsl')", [$device['device_id']]);
}