...
The setting max_repetitions should be added to a node entry in the Nodes.nmis file and is an option in the NMIS8 GUI when editing nodes.
New in NMIS 8.6: automatic max_repetitions
adjustment
As outlined in the NMIS 8 Release Notes, from version 8.6.0 onwards NMIS will dynamically reduce the max_repetitions
parameter if necessary.
If a "message size exceeded" error is encountered, the issue is logged and the current max_repetitions
value is reduced by 25% before the request is retried. If that retry works, the updated value is used for the SNMP session lifetime, i.e. the remainder of this node's collect of update operation. Up to four reduce-and-retry iterations are performed before NMIS gives up on the request and returns an error.
If you have not set a max_repetitions
value, the first retry will use the value 20.
Whenever such an automatic adjustment is attempted, NMIS logs a warning message similar to this example:"WARNING (servername) SNMP get_table failed with message size exceeded, retrying with maxrepetitions reduced to 36
"