snmpcollector probe MAX_BATCH setting for cisco devices - improving discovery and performance
search cancel

snmpcollector probe MAX_BATCH setting for cisco devices - improving discovery and performance

book

Article ID: 43290

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM) CA Unified Infrastructure Management SaaS (Nimsoft / UIM)

Issue/Introduction

By default, the snmpcollector gets information from devices using an SNMP bulk request, including up to a maximum of 20 OIDs, (the default number).

Unfortunately, some SNMP devices will not accept a SNMP GetBulk of this size and snmpcollector can see errors like this:

Starting to discover device MAP-XXX-XXX-CE03 for metric family MetricFamily [metricFamilyName=NormalizedSystemInfo] with Vendor Cert systemMib

snmp error D4293c5258d1d266a93a55ecb346ebd93/Non-pollable scalars
Unable to collect OID on device SnmpDevice D4293c5258d1d266a93a55ecb346ebd93: null

com.nimsoft.snmppoller.poller.common.CollectorException: SNMP Error : 1
at com.nimsoft.snmppoller.poller.collector.snmp.SNMPCollection.setSNMPException
(SNMPCollection.java:202)

Environment

  • UIM 9.x or later

Resolution

  1. To resolve this, open the snmpcollector raw configuration, navigate to the setup folder and add the key, "MAX_BATCH". 
  2. Set the value to a number less than 20.
  3. 3 was shown to work well on some Cisco 3850s, but trial and error may need to be used for other devices.
  4. It is also possible to add or alter settings for SNMPRETRIES (default 2), and SNMPTIMEOUT (default 2000 milliseconds).

Additional Information

Note that the MAX_BATCH setup key setting applies to ALL devices that are discovered, including the devices that can handle larger snmp bulk requests. The discovery process will take longer but this solution should allow all devices to be discovered successfully.