
13 Apr
2007
13 Apr
'07
3:29 p.m.
On Fri, Apr 13, 2007 at 08:31:51AM -0400, Jae Muzzin wrote:
Ok, the thing is though, we have a few hundred commercial MIBs to import, many of them throw errors. I won't argue the validity of their syntax, but net-snmp has no problem parsing them, and that is what we currently use. Is there some way to configure libsmi to be less strict with its parsing, or skip imports or definitions that have errors?
We are proud there there is no such option.
Besides this, libsmi does actually try to continue as much as possible after errors. If you dislike seeing how bad the input is, redirect the error messages to /dev/zero (and then it is your responsibility that you did so).
/js
--
Juergen Schoenwaelder Jacobs University Bremen
http://www.eecs.iu-bremen.de/ P.O. Box 750 561, 28725 Bremen, Germany