hallidave / ruby-snmp

A Ruby implementation of SNMP (the Simple Network Management Protocol).
MIT License
146 stars 63 forks source link

"OIDs are not increasing" error processing should be configurable #31

Closed xopnet closed 9 years ago

xopnet commented 10 years ago

Many network switches do not return a list of OIDs in ascending order. When we use ruby-snmp for these devices, processing is aborted.

We cannot go to every device maker and get them to change their SNMP agents. Also, note that snmpwalk has an option to ignore out-of-order OIDs.

Can you make this "OIDs are not increasing" logic configurable to allow us to ignore out-of-order OIDs?

hallidave commented 9 years ago

This option has now been added. Thanks to @bjmllr for the patch.