Skip to main content
Question

Mikrotik SNMP plugin

  • August 11, 2023
  • 6 replies
  • 238 views

Forum|alt.badge.img+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

ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • 531 replies
  • August 14, 2023

👋 @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 “.” 


Forum|alt.badge.img+1
  • Author
  • Steward *
  • 3 replies
  • August 16, 2023

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.';
 


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • 531 replies
  • August 16, 2023

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


Forum|alt.badge.img+1
  • Author
  • Steward *
  • 3 replies
  • August 17, 2023

Hello,

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


omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • 277 replies
  • August 24, 2023

Hi @quija23,

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


omercier
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • 277 replies
  • August 29, 2023