centreon / centreon-plugins

Collection of standard plugins to discover and gather cloud-to-edge metrics and status across your whole IT infrastructure.
https://www.centreon.com
Apache License 2.0
310 stars 273 forks source link

[network::mikrotik::snmp::plugin] UNKNOWN: SNMP Table Request: Timeout (parse header: message overflow: 263 len + 4 delta > 266 len) #4586

Closed Aleksey-Maksimov closed 1 year ago

Aleksey-Maksimov commented 1 year ago

Hello,

At first, the plugin worked fine, but at one point, for one of the routers, we began to receive a "message overflow" error:

# ./centreon_plugins.pl '--plugin=network::mikrotik::snmp::plugin' '--mode=environment' '--critical' 'temperature,processor,80' '--critical' 'temperature,system,70' '--filter' 'current,current' '--filter' 'fan,.*(-speed)' '--filter' 'temperature,.*(cpu-temperature|temperature)' '--filter' 'voltage,voltage' '--filter-perfdata-adv' 'not (%(label) =~ /(.count)/)' '--filter-uom' 'null' '--hostname' '10.3.8.1' '--legacy' '--snmp-community' 'public' '--snmp-version' '2c' '--use-new-perfdata' '--verbose' '--warning' 'temperature,processor,70' '--warning' 'temperature,system,60' '--warning' 'fan,.*,1000:' --debug

UNKNOWN: SNMP Table Request: Timeout (parse header: message overflow: 263 len + 4 delta > 266 len)

Please tell me how to fix the problem.

garnier-quentin commented 1 year ago

Try following options:

--snmp-force-getnext --subsettable=1 --subsetleef=1
Aleksey-Maksimov commented 1 year ago

Thanks Quentin. It works.