I tried the following

schamlian@ubuntu:/usr/local/share/snmp/mibs$ env MIBS="+MPBC-RMH-MIB" mib2c
-c ../mib2c.mfd.conf  mpbcRMH-AlarmTable
Defaults for mpbcRMH-AlarmTable...
Warning: something's wrong at /usr/local/bin/mib2c line 828, <GEN2> line 65.
/usr/local/share/snmp/mib2c-data/mfd-top.m2c:65 [@         perleval my $rc
= mkdir(defaults,0775); return $rc != 1 @
]
writing to -
There are no defaults for 0. Would you like to

  1) Accept hard-coded defaults
  2) Set defaults now [DEFAULT]

Select your choice : 1
ERROR: failed to open defaults/table-0.m2d
  at /usr/local/share/snmp/mib2c-data/m2c_table_save_defaults.m2i:11


Simon



On Wed, Dec 14, 2011 at 5:57 PM, Dave Shield <d.t.shi...@liverpool.ac.uk>wrote:

> On 14 December 2011 19:17, Simon Chamlian <simon.chaml...@gmail.com>
> wrote:
> > Now I cannot create the C file.
> >
> > $ mib2c -c ../mib2c.mdf.conf  MPBC-RMH-MIB
> >
> > You didn't give mib2c a valid OID to start with.
>
> You need to give the name of a MIB *object*
> rather than the MIB as a whole.
>
> Try giving the name of one of the MIB tables,
> or a group of scalar objects.
>
> Dave
>
------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to