Novell Home

TID101557 (xmws007) MIB for LANManager to correct ManageWise Compile

From Developer Community

ABSTRACT:

The attached LAN Manager MIB files have been modified to correct compilation problems under ManageWise MIB compiler.

DETAILED DESCRIPTION

An overview of what was done to the Microsoft MIBs so that they would compile on the ManageWise 2.5 MIB Compiler.


1. DO NOT COMPILE SMI.MIB & MIBII.MIB. The MIBII.MIB is already available in the default MIB directory "MWNMSSNMPMIBSCURRENT" for ManageWise 2.5 and cause a duplicate definition error if compiled again. THE SMI definitions/declarations are hard coded into the ManageWise MIB Compiler and therefore this MIB should not be added to the SNMPMIBCURRENT directory on the ManageWise console. Therefore, these files were renamed to SMI.NOP and MIBII.NOP.

2. IMPORTS Section Ensure that all IMPORTS are correct, i.e.: OBJECT-TYPE FROM RFC-1212 and not from RFC1155-SMI

Ensure that if an object is referenced in a MIB and defined in another MIB that it is declared in the IMPORTS Section, i.e.: DisplayString FROM RFC1213-MIB

Ensure that any IMPORT declared is properly spelled and correct Upper or Lower case format SYNTAX Integer IS INCORRECT, IT SHOULD BE SYNTAX INTEGER as it is defined in the RFC

Ensure, a nicety and not required, that a convention is adhered to in all similar MIBs in a set. microsoft, software are defined in the WINS.MIB and therefore could be IMPORTED into the majority of the other MIBs in this set and in some cases are and some they are not. I made sure that they are used as IMPORTS in all MIBs where they are referenced in this set.

3. OBJECT-IDENTIFIER Section Ensure that all object identifiers begin with a Lower case and do not contain underscores, i.e.: GatewayServer OBJECT-IDENTIFIER ::= { internetServer x } IS INCORRECT, IT SHOULD READ gatewayServer OBJECT-IDENTIFIER ::= { internetServer x }

4. OBJECT-TYPE descripters Ensure that all OBJECT-TYPE descripters begin with Lower case and do not contain underscores, i.e.: TotalBytesSent_HighWord OBJECT-TYPE IS INCORRECT, IT SHOULD BE totalBytesSentHighWord OBJECT-TYPE

5. TRAPs Ensure the TRAP ENTERPRISE types are not in dotted notation indicating the root, i.e.: ENTERPRISE lanmanager.Alert-2.alerts IS INCORRECT, IT SHOULD BE ENTERPRISE alerts AND of course the "alerts" object should defined in the body of the MIB or IMPORTED from another MIB

Ensure that the TRAP VARIABLES are not dotted notation indicating the root of the object, i.e.: VARIABLES { alert-conditions.NetIOErrorsData.numNetIOErrors } IS INCORRECT, IT SHOULD BE just VARIABLES { numNetIOErrors }

xmws007.exe

xmws007.exe59.8 K2005-04-06

--devsup

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.