On 26 May 2010 00:49, jihed lazid <jihed.la...@gmail.com> wrote: > but how i can generate the MIB module needed by mib2c than i have just the > MIB files ( xfsGeneral.mib , xfsalm.mib ..... ) ?
The MIB file(s) are exactly what mib2c will use. You don't need anything else. They are used as a design framework, from which to generate the code template. You'd then adjust this code template to implement the desired behaviour of the various objects. > Note : mib2c -c mib2c.int_watch.conf XFSMIB::xfsGeneral ; dosn't work Please post (as an attachment) the full text of the MIB that you are working with. Though the fragment you showed earlier looks to be badly formed. (for example, it's meant to be a SMIv2 MIB, but doesn't contain the necessary MODULE-IDENTITY definition) Dave ------------------------------------------------------------------------------ _______________________________________________ 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