Re: MFD mib2c.mfd.conf Cannot find module (NetSNMP): At line 1 in (none).
Francois Bouchard <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <CAAZiaZf1Ax01uzpVv8PPOAxqAq5mSiJuVBE64Su8z3H8NHC14w@mail.gmail.com> |
Let me refine my last post, I cannot generate C code in the agent to send values for a table (my own MIB). The error seems to be that it search and Cannot find module (NetSNMP): At line 1 in (none). What Could be wrong ? thanks 2012/1/12 Francois Bouchard <[email protected]> > Hi list, > Trying to generate code using the mib2c.mfd.conf but it failed as you can > see: > > $ mib2c -c mib2c.mfd.conf AlarmTable > > > Defaults for AlarmTable... > There are existing defaults for 0 (defaults/table-0.m2d). > r)econfigure or u)se existing [default=u] : writing to defaults/table-0.m2d > Starting MFD code generation... > writing to AlarmTable.h > MIB search path: /home/fbouchard/.snmp/mibs:/ > usr/local/share/snmp/mibs > Cannot find module (NetSNMP): At line 1 in (none) > Can't parse: NetSNMP::OID > Use of uninitialized value in subroutine entry at > /usr/local/lib/perl/5.10.1/NetSNMP/OID.pm line 127, <GEN2> line 126. > NetSNMP::OID::_snmp_oid_compare: oid2 is not of type netsnmp_oidPtr at > /usr/local/lib/perl/5.10.1/NetSNMP/OID.pm line 127, <GEN2> line 126. > > > > With the mib2c.array-user.conf or mib2c.iterate.conf it works ok. > > Francois > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users