Skip to content

Commit 7643bc9

Browse files
committed
fix: Update Mikrotik devices support
1 parent cc15a33 commit 7643bc9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ netdiscovery/netinventory:
4343
* fix #995: Update Sindoh printers support
4444
* fix #959: Add Avocent KVM support
4545
* Add FoxGate devices support
46+
* Update Mikrotik devices support
4647

4748
injector:
4849
* Add support for --ca-cert-file and --ssl-fingerprint options

lib/GLPI/Agent/SNMP/MibSupport/Mikrotik.pm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ use GLPI::Agent::Tools;
99
use GLPI::Agent::Tools::SNMP;
1010

1111
# See MIKROTIK-MIB
12-
use constant mikrotikExperimentalModule => '.1.3.6.1.4.1.14988.1' ;
12+
use constant mikrotik => '.1.3.6.1.4.1.14988' ;
13+
use constant mikrotikExperimentalModule => mikrotik . '.1' ;
1314
use constant mtxrSystem => mikrotikExperimentalModule .'.1.7' ;
1415

1516
use constant mtxrSerialNumber => mtxrSystem . '.3.0' ;
@@ -18,7 +19,7 @@ use constant mtxrFirmwareVersion => mtxrSystem . '.4.0' ;
1819
our $mibSupport = [
1920
{
2021
name => "mikrotik",
21-
sysobjectid => getRegexpOidMatch(mikrotikExperimentalModule)
22+
sysobjectid => getRegexpOidMatch(mikrotik)
2223
}
2324
];
2425

0 commit comments

Comments
 (0)