Question

Mikrotik SNMP plugin

  • 11 August 2023
  • 6 replies
  • 133 views

Badge +1

Hello,

there is a missing dot after number 4 on line 11136 in file centreon_mikrotik_snmp.pl.

my $mktFrequenOid = '.1.3.6.1.4.1.14988.1.1.1.3.1.4';

but it should be

my $mktFrequenOid = '.1.3.6.1.4.1.14988.1.1.1.3.1.4.';
 

And I have one cosmetic question. For modes list-ssids and list-frequencies I need to click on details to see the results. See screenshots. How to change the perl code to see results in one row like other modes? Thanks.

 

 

 


6 replies

Userlevel 4
Badge +13

👋 @quija23 

The connector follows this logic for the perfdata.

https://docs.centreon.com/pp/integrations/plugin-packs/dev-resources/plugins-guidelines/#formatting

Can you expand on the extra “.” 

Badge +1

Hello,

mode list-ssids (centreon_mikrotik_snmp.pl --plugin network::mikrotik::snmp::plugin --mode list-ssids
) will not work until you add dot after number 4

my $mktFrequenOid = '.1.3.6.1.4.1.14988.1.1.1.3.1.4.';
 

Userlevel 4
Badge +13

Have you tried with

 

    --subsetleef
            How many OID values per SNMP request (default: 50) (for get_leef
            method. Be cautious when you set it. Prefer to let the default
            value).

    --snmp-autoreduce
            Progressively reduce the number of requested OIDs in bulk mode.
            Use it in case of SNMP errors (By default, the number is divided
            by 2).

    --snmp-force-getnext
            Use SNMP getnext function in SNMP v2c and v3. This will request
            one OID at a time.
 

 

🤞, maybe we need to ask the DEV’s

Badge +1

Hello,

is it just a bug. I posted it here so others may find solution for non working SSIDs listing.

Userlevel 4
Badge +12

Hi @quija23,

You’re right, there’s a fix on its way for the next release ;-)

Userlevel 4
Badge +12

@quija23 

The next release will be out the 12th september, in the meantime you may try this version:

 

Reply