Novell Home

Getting New HP MIB Files to Compile and Create Alerts

Novell Cool Solutions: Tip
By Rainer Brunold

Digg This - Slashdot This

Posted: 15 Dec 2005
 

Applies to: ZENworks Server Management and Monitoring services 3.x, 6.x and 7.x

PROBLEM: New HP MIB files compile successfully but do not create alarm disposition entries.

Every view months HP provides new SNMP MIB files for their new products (software and hardware). We need to integrate those files into our ZENworks Server Management and Monitoring services to identify the alerts from that new products.

However, when we download the new MIB files from the HP support page and compile them with ConsoleOne, we don't get any alarm disposition entries. Even though the compilation process finishes successfully, we do not get any entries for them.

SOLUTION: HP has a fiew errors in their new MIB files that lead to that problem. After a long time of research we found the problem. Here are the two things you have to check in every new HP MIB file:

The first one:

In the header of some MIB files is the enterprise entry under comment like this (sample from cpqida.mib):

        cpqHoTrapFlags          FROM CPQHOST-MIB;

--  compaq              OBJECT IDENTIFIER ::= { enterprises 232 }

    cpqDriveArray       OBJECT IDENTIFIER ::= { compaq 3 }

Remove the "--" in front of the compaq so it looks like this:

    cpqHoTrapFlags          FROM CPQHOST-MIB;

    compaq              OBJECT IDENTIFIER ::= { enterprises 232 }

    cpqDriveArray       OBJECT IDENTIFIER ::= { compaq 3 }

The second one:

The second one relates to incorrect INTEGER definitions. They set a variable to an incorrect integer value (Sample from cpqida.mib):

cpqDaPhyDrvThrViUsedReallocs OBJECT-TYPE
        SYNTAX  INTEGER
        {
            false(1),
            true(2),
            unknown(4294967295)
        }
        ACCESS  read-only

Correct the line with the unknown(4294967295) to unknown(3) so the line looks like:

  cpqDaPhyDrvThrViUsedReallocs OBJECT-TYPE
        SYNTAX  INTEGER
        {
            false(1),
            true(2),
            unknown(3)
        }
        ACCESS  read-only

After you have checked all new HP MIB files you can compile them successfully in ZENworks Server Management and get the alarm disposition entries which you can then configure.

If you have any questions you may contact Rainer at Rainer.Brunold@Allianz.AT


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell