ActiveXperts Network Monitor 2019##AdminFavorites

CPQUPS-MIB by vendor Compaq

CPQUPS-MIB file content

The SNMP protocol is used to for conveying information and commands between agents and managing entities. SNMP uses the User Datagram Protocol (UDP) as the transport protocol for passing data between managers and agents. The reasons for using UDP for SNMP are, firstly it has low overheads in comparison to TCP, which uses a 3-way hand shake for connection. Secondly, in congested networks, SNMP over TCP is a bad idea because TCP in order to maintain reliability will flood the network with retransmissions.

Management information (MIB) is represented as a collection of managed objects. These objects together form a virtual information base called MIB. An agent may implement many MIBs, but all agents must implement a particular MIB called MIB-II [16]. This standard defines variables for things such as interface statistics (interface speeds, MTU, octets sent, octets received, etc.) as well as various other things pertaining to the system itself (system location, system contact, etc.). The main goal of MIB-II is to provide general TCP/IP management information.

Use ActiveXperts Network Monitor 2019 to import vendor-specific MIB files, inclusing CPQUPS-MIB.


Vendor: Compaq
Mib: CPQUPS-MIB  [download]
Tool: ActiveXperts Network Monitor 2019 [download]    (ships with advanced SNMP/MIB tools)
-- ****************************************************************************
--
--                     Uninterruptible Power Supply 
--         Management Information Base for SNMP Network Management
-- 
--
--      Copyright 1993, Compaq Computer Corporation.
--      All Rights Reserved.
--
--      The information in this document is subject to change without notice.
--     
--      COMPAQ COMPUTER CORPORATION SHALL NOT BE LIABLE FOR TECHNICAL
--      OR EDITORIAL ERRORS OR OMISSIONS CONATINED HEREIN; NOR FOR INCIDENTAL
--      OR CONSEQUENTIAL DAMAGES RESULTING FROM THE FURNISHING, PERFORMANCE,
--      OR USE OF THIS MATERIAL.
--
-- 	Refer to the READMIB.RDM file for more information about the 
--      organization of the information in the Compaq Enterprise.
--
--      The Compaq Enterprise number is 232.
--      The ASN.1 prefix to, and including the Compaq Enterprise is:
--           1.3.6.1.4.1.232
--
-- ****************************************************************************
 
CPQUPS-MIB DEFINITIONS ::= BEGIN

    IMPORTS
        enterprises             FROM RFC1155-SMI
        Counter                 FROM RFC1155-SMI
        DisplayString           FROM RFC1213-MIB
        OBJECT-TYPE             FROM RFC-1212
        TRAP-TYPE               FROM RFC-1215;

    compaq                  OBJECT IDENTIFIER ::= { enterprises 232 }  

    cpqUps                  OBJECT IDENTIFIER ::= { compaq 12 }
    cpqUpsMibRev            OBJECT IDENTIFIER ::= { cpqUps 1 }
    cpqUpsComponent         OBJECT IDENTIFIER ::= { cpqUps 2 }

    cpqUpsInterface         OBJECT IDENTIFIER ::= { cpqUpsComponent 1 }
    cpqUpsBasic             OBJECT IDENTIFIER ::= { cpqUpsComponent 2 }

    cpqUpsOsCommon          OBJECT IDENTIFIER ::= { cpqUpsInterface 4 }

-- ****************************************************************************
--   UPS MIB Revision
--   ================
--
-- The compaq enterprise               (1.3.6.1.4.1.232)
--      cpqUps Group                   (1.3.6.1.4.1.232.12)
--       cpqUpsMibRev Group            (1.3.6.1.4.1.232.12.1)
--
--
--      An Insight Agent conforming to this document will return a
--      cpqUpsMibRevMajor of one (1) and a cpqUpsMibRevMinor of zero (0). 
--
--
--      Implementation of the cpqUpsMibRev group is mandatory for all agents
--      supporting the Compaq UPS MIB.
--
-- ****************************************************************************

    cpqUpsMibRevMajor OBJECT-TYPE
        SYNTAX  INTEGER (1..65535)
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The Major Revision level of the MIB.
            
            A change in the major revision level represents a major change in
            the architecture of the MIB.  A change in the major revision
            level may indicate a significant change in the information
            supported and/or the meaning of the supported information,
            correct interpretation of data may require a MIB document with
            the same major revision level."
        ::= { cpqUpsMibRev 1 }

    cpqUpsMibRevMinor OBJECT-TYPE
        SYNTAX  INTEGER (0..65535)
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The Minor Revision level of the MIB.
            
            A change in the minor revision level may represent some minor
            additional support, no changes to any pre-existing information
            has occurred."
        ::= { cpqUpsMibRev 2 }

    cpqUpsMibCondition OBJECT-TYPE
        SYNTAX  INTEGER {
            other(1),
            ok(2),
            degraded(3),
            failed(4)
            }  
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The overall condition.

             This object represents the overall status of the UPS system 
             represented by this MIB."
        ::= { cpqUpsMibRev 3 }

-- ****************************************************************************
--   UPS OS Common Group
--  ====================
--
-- The compaq enterprise               (1.3.6.1.4.1.232)
--      cpqUps Group                   (1.3.6.1.4.1.232.12)
--       cpqUpsComponent Group         (1.3.6.1.4.1.232.12.2)
--        cpqUpsInterface Group        (1.3.6.1.4.1.232.12.2.1)
--         cpqUpsOsCommon Group        (1.3.6.1.4.1.232.12.2.1.4)
--
-- 
--  Implementation of the cpqUpsOsCommon group is mandatory for all
--  agents that support the Compaq UPS MIB.
--
-- ****************************************************************************

    cpqUpsOsCommonPollFreq OBJECT-TYPE
        SYNTAX  INTEGER (0..65535)
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
            "The Insight Agent's polling frequency.

            The frequency, in seconds, at which the Insight Agent requests
            information from the device driver.  A frequency of zero (0) 
            indicates that the Insight Agent retrieves the information upon
            request of a management station, it does not poll the device
            driver at a specific interval.
            
            If the poll frequency is zero (0) all attempts to write to this
            object will fail.  If the poll frequency is non-zero,
            setting this value will change the polling frequency of the
            Insight Agent.  Setting the poll frequency to zero (0) will 
            always fail, an agent may also choose to fail any request to 
            change the poll frequency to a value that would severely impact 
            system performance."
        ::= { cpqUpsOsCommon 1 }

-- ****************************************************************************
--   UPS OS Common Module Table
--  ===========================
--
-- The compaq enterprise               (1.3.6.1.4.1.232)
--      cpqUps Group                   (1.3.6.1.4.1.232.12)
--       cpqUpsComponent Group         (1.3.6.1.4.1.232.12.2)
--        cpqUpsInterface Group        (1.3.6.1.4.1.232.12.2.1)
--         cpqUpsOsCommon Group        (1.3.6.1.4.1.232.12.2.1.4)
--          cpqUpsOsCommonModuleTable  (1.3.6.1.4.1.232.12.2.1.4.2)
--
-- ****************************************************************************

    cpqUpsOsCommonModuleTable OBJECT-TYPE
        SYNTAX  SEQUENCE OF CpqUpsOsCommonModuleEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
            "A table of software modules that provide an interface to the
            device this MIB describes."
        ::= { cpqUpsOsCommon 2 }

    cpqUpsOsCommonModuleEntry OBJECT-TYPE
        SYNTAX  CpqUpsOsCommonModuleEntry
        ACCESS  not-accessible
        STATUS  mandatory
        DESCRIPTION
            "A description of a software module that provides an interface
            to the device this MIB describes."
        INDEX   { cpqUpsOsCommonModuleIndex }
        ::= { cpqUpsOsCommonModuleTable 1 }

        CpqUpsOsCommonModuleEntry ::= SEQUENCE {
            cpqUpsOsCommonModuleIndex       INTEGER,
            cpqUpsOsCommonModuleName        DisplayString,
            cpqUpsOsCommonModuleVersion     DisplayString,
            cpqUpsOsCommonModuleDate        OCTET STRING,
            cpqUpsOsCommonModulePurpose     DisplayString
        }

    cpqUpsOsCommonModuleIndex OBJECT-TYPE
        SYNTAX  INTEGER (0..255)
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "A unique index for this module description."
        ::= { cpqUpsOsCommonModuleEntry 1 }

    cpqUpsOsCommonModuleName OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The module name."
        ::= { cpqUpsOsCommonModuleEntry 2 }

    cpqUpsOsCommonModuleVersion OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..5))
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The module version in XX.YY format.
            
            Where XX is the major version number and YY is the minor verion
            number.  This field will be a null (size 0) string if the agent
            cannot provide the module version."
        ::= { cpqUpsOsCommonModuleEntry 3 }

    cpqUpsOsCommonModuleDate OBJECT-TYPE
        SYNTAX  OCTET STRING (SIZE (7))
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The module date.

             field  octets  contents                  range
             =====  ======  =======                  =====
               1      1-2   year                      0..65536
               2       3    month                     1..12
               3       4    day                       1..31
               4       5    hour                      0..23
               5       6    minute                    0..59  
               6       7    second                    0..60
                            (use 60 for leap-second)

            
            This field will be set to year = 0 if the agent cannot provide
            the module date.  The hour, minute, and second field will be set
            to zero (0) if they are not relevant.  The year field is set
	    with the most significant octect first."
        ::= { cpqUpsOsCommonModuleEntry 4 }

    cpqUpsOsCommonModulePurpose OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..255))
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The purpose of the module described in this entry."
        ::= { cpqUpsOsCommonModuleEntry 5 }

-- ****************************************************************************
--   UPS Basic Instrumentation Group
--  ================================
--
-- The compaq enterprise               (1.3.6.1.4.1.232)
--      cpqUps Group                   (1.3.6.1.4.1.232.12)
--       cpqUpsComponent Group         (1.3.6.1.4.1.232.12.2)
--        cpqUpsBasic Group            (1.3.6.1.4.1.232.12.2.2)
--
--
--  The cpqUpsBasic group describes the basic UPS instrumentation.
--
--  Implementation of the cpqUpsBasic group is mandatory for all
--  agents that support the Compaq UPS MIB.
--
-- ****************************************************************************


    cpqUpsLineStatus OBJECT-TYPE
        SYNTAX  INTEGER {
            other(1),
            ok(2),
            failed(4)
            }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The status of the AC line input to the UPS."
        ::= { cpqUpsBasic 1 }

    cpqUpsName OBJECT-TYPE
        SYNTAX  DisplayString (SIZE (0..20))
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The UPS name (type)."
        ::= { cpqUpsBasic 2 }

    cpqUpsEstimatedBatteryLife OBJECT-TYPE
        SYNTAX  INTEGER
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The estimated time, in minutes, of battery power available.
             The value will be negative one (-1) if the agent is unable to
             determine this information.  A UPS may not provide this
             information when AC power is available."
        ::= { cpqUpsBasic 3 }

    cpqUpsAutoShutdownDelay OBJECT-TYPE
        SYNTAX  INTEGER
        ACCESS  read-write
        STATUS  mandatory
        DESCRIPTION
            "The number of minutes of battery power remaining before the UPS
            driver will begin a graceful shutdown of the OS.
            
            A value of -1 indicates that no automatic shutdown will occur."
        ::= { cpqUpsBasic 4 }


-- ****************************************************************************
--  UPS Trap Definitions
--  ====================
--
--  The SNMP trap messages must not be bigger than 484 octets (bytes).
-- 
--  Trap support in an SNMP agent implementation is optional.  An SNMP
--  agent implementation may support all, some, or none of the traps.
--  If traps are supported, The user should be provided with the option of
--  disabling traps.
--
-- **************************************************************************

    cpqUpsLineFailed TRAP-TYPE
        ENTERPRISE compaq
        VARIABLES  { cpqUpsEstimatedBatteryLife }
        DESCRIPTION
            "AC Line power failure.  

             The UPS reports that the AC line power has failed."

              --#TYPE "AC Line Failure"
              --#SUMMARY "UPS has about %d minutes of power left."
              --#ARGUMENTS {0}
              --#SEVERITY CRITICAL
              --#TIMEINDEX 99
              --#STATE   DEGRADED

        ::= 12001

    cpqUpsLineOk TRAP-TYPE
        ENTERPRISE compaq
        DESCRIPTION
            "AC line power ok.  

             The UPS reports that the AC line power has returned."

              --#TYPE "AC Line Power OK"
              --#SUMMARY "UPS reports AC line power has returned."
              --#ARGUMENTS {}
              --#SEVERITY INFORMATIONAL
              --#TIMEINDEX 99
              --#STATE OPERATIONAL

        ::= 12002

    cpqUpsShutdown TRAP-TYPE
        ENTERPRISE compaq
        DESCRIPTION
            "UPS initiating graceful server shutdown.  

             The UPS software is initiating a graceful server shutdown.
             Every attempt to preserve the state of the file system
             will be made.  The server shutdown will be initiated due to 
             a power anomaly."

              --#TYPE "UPS Shutdown"
              --#SUMMARY "The UPS has initiated server shutdown."
              --#ARGUMENTS {}
              --#SEVERITY CRITICAL
              --#TIMEINDEX 99
              --#STATE   NONOPERATIONAL

        ::= 12003

    cpqUpsConfirmation TRAP-TYPE
        ENTERPRISE compaq
        DESCRIPTION
            "Server now operational after power down.  

             This server has previously been shutdown due to a power
             anomaly and has just become operational again."

              --#TYPE "UPS Confirmation"
              --#SUMMARY "Server now operational after UPS shutdown."
              --#ARGUMENTS {}
              --#SEVERITY INFORMATIONAL
              --#TIMEINDEX 99
              --#STATE OPERATIONAL

        ::= 12004

    cpqUpsBatteryLow TRAP-TYPE
        ENTERPRISE compaq
        DESCRIPTION
            "UPS Battery Low.  The server will soon lose power."

              --#TYPE "UPS Battery Low"
              --#SUMMARY "Server will soon lose power."
              --#ARGUMENTS {}
              --#SEVERITY CRITICAL
              --#TIMEINDEX 99
              --#STATE   DEGRADED

        ::= 12005

END