Don't hardcode index for Mikrotik LTE wireless statistics (#12976)

* don't hardcode index for Mikrotik LTE wireless statistics

* sync test data now that Mikrotik LTE index is no longer hardcoded

* sync tests data now that Mikrotik LTE index is no longer hardcoded

* fix whitespace

* sync test data now that Mikrotik LTE index is no longer hardcoded

* add test data for Mikrotik LtAP mini (aka RB912R-2nD)

* Re-write Routeros wireless code
It now works like most other devices

* fix style

* update baseline

* Remove station 60G rate

* use base unit of m, not km

* move interface stats name inside loop to avoid a walk when it does exist

* notification

* fix typo

Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
Stuart Henderson
2021-10-21 01:50:59 +00:00
committed by GitHub
parent 3d4ad683ad
commit 48a12be4be
14 changed files with 714 additions and 546 deletions

View File

@@ -140,11 +140,6 @@ parameters:
count: 1
path: LibreNMS/OS/Ios.php
-
message: "#^Parameter \\#8 \\$multiplier of class LibreNMS\\\\Device\\\\WirelessSensor constructor expects int, null given\\.$#"
count: 1
path: LibreNMS/OS/Routeros.php
-
message: "#^Parameter \\#8 \\$warn_percent of static method LibreNMS\\\\Device\\\\Processor\\:\\:discover\\(\\) expects int, null given\\.$#"
count: 3