Release Notes - New Features - SNMP Stack Upgrade - NerveCenter Trap Service -
Previous: DBI Modules     Next: ncdb2html.pl

SNMP Stack Upgrade

NerveCenter 3.8 comes with a new SNMP stack. This new stack improves performance and adheres more closely to industry standards and RFCs. All polling and MIB compilation use this new SNMP Stack. The stack upgrade involves three visible changes to NerveCenter:

MIB Compiler

NerveCenter 3.8 has a new MIB compiler, mibcomp.bat (Windows) and mibcomp.sh (UNIX). This new compiler is SMIv2 compliant and uses a new mibcomp.txt file that is also SMIv2 compliant. The commands to compile a MIB have changed slightly.

For details on using the new MIB Compiler, see Chapter 13, Managing Management Information Bases (MIB) in Managing NerveCenter.

If you are upgrading from a previous version of NerveCenter, and have a modified MIB, Open recommends that you modify the new NerveCenter 3.8 mibcomp.txt file with any modifications you have made.

However, you can modify your existing mibcomp.txt as to comply with the new MIB compiler requirements. For details, see Upgrading to NerveCenter 3.8.

Adding MIB definitions

The MIB compiler (mibcomp) compiles the MIB definitions referenced in a text file. You can add references to this file to control what definitions are compiled into the NerveCenter MIB.

If dependant MIB module references are out of order, you receive an error similar to the following:


   8: standard-v2/rfc1573b.asn1 mgrtool.exe: process_data(), Couldn't find parent: interfaces
   mibcomp: unable to compile and resolve standard-v2/rfc1573b.asn1

In this example, rfc1573b.asn1 depends upon another mib to define interfaces. You must find the mib that defines interfaces and include it before rfc1573b.asn1 in mibcomp.txt. To find a MIB that defines interfaces, you search the other MIB modules looking for the following:


   interfaces OBJECT IDENTIFIER ::= { mib-2 2 }

Now you can name the file that contains this line, in this case rfc1213.asn1, before rfc1573b.asn1.

You can tell the difference between a SMIv1 module and an SMIv2 module by searching the *.asn1 file for "MAX-ACCESS.

Sample SMIv1 SysUpTime definition

Sample SMIv2 SysUpTime definition

sysUpTime OBJECT-TYPE

SYNTAX TimeTicks

ACCESS read-only

STATUS mandatory

DESCRIPTION

"The time (in hundredths of a second) since the network management portion of the system was last re-initialized."

::= { system 3 }


sysUpTime OBJECT-TYPE

SYNTAX TimeTicks

MAX-ACCESS read-only

STATUS current

DESCRIPTION

"The time (in hundredths of a second) since the network management portion of the system was last re-initialized."

::= { system 3 }


Any use of ACCESS within a *.asn1 named in the SMIv2 area of mibcomp.txt causes an error. Any use of MAX-ACCESS within a *.asn1 named in the SMIv1 area of mibcomp.txt causes an error.

traprcv

The traprcv command displays the SNMP Trap messages received by the NerveCenter Trap service. This utility can be useful when debugging behavior models.

On UNIX, you must be a member of the ncadmins group to use traprcv.

Traprcv prints standard output messages in the command window where it is running about the notifications it has received.

Traprcv can receive the following traps and informs:

 
  To use traprcv:

Troubleshooting

If you receive the error message Could not initialize ARL application, the NerveCenter trap service is not running. Restart the NerveCenter trap service by running the command ncstart on UNIX or selecting NerveCenter Service from the Start Menu on Windows.

NerveCenter Trap Service

NerveCenterTM 3.8.08 has a new trap service, which replaces the 'nctrapper' from prior releases. There should be no noticeable difference to you as a user, except when switching your trap source from NerveCenter Trap service to MS Trap service or from MS Trap service to NerveCenter Trap service. For more details about changing the NerveCenter trap source, see Chapter 5, Managing the NerveCenter Server in Managing NerveCenter.

The NerveCenter trap service logs errors and warnings to /var/tmp/ncsnmp.log (UNIX) or the Event Log (Windows).


Previous: DBI Modules Next: ncdb2html.pl
This file was last updated on 20 February 2004