I'm confused about xupsTrapBasic

Christopher Fowler <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I'm confused about the OID that is sent with 'xupstbControlOff'

Here is a section from the MIB:

-- Traps (xupst)
--
-- 1) Powerware's traps are defined in this MIB for three different
sources:
--      a) Basic Agents for which the trap variables have not been
defined,
--              though trap variables are included with the trap PDU
--      b) Agents with exactly Defined trap variables, which may be
--              used as input to trap response macros on management
stations
--      c) Agents with Defined traps including ifIndex and ifDescr,
--              which can be used to determine which UPS of a multi-port
--              agent (eg, Powerware Network SNMP Adapter) sent the trap
--    The trap definitions for the three sources are very similar,
--      and use the same alarms as their triggers; their names are
prefaced
--      by xupstb, xupstd, and xupstp to distinguish the three types
--
-- 2) Trap Severity Level is given as a comment to indicate which 
--      xupsMaxTrapLevel will result in this trap being sent; levels 
--      are (in order): Critical, Major, Minor, Informational
--
-- 3) The following Object Identifiers are used to distinguish
Powerware's
--      Trap sources:
--      a) The first is for traps without defined trap variables
xupsNull         OBJECT IDENTIFIER       ::= { xups 0 }
xupsTrapBasic    OBJECT IDENTIFIER       ::= { xupsNull 0 }
--      b) The second is for traps with defined variables, 
--              without ifIndex & ifDescr
xupsTrapSource   OBJECT IDENTIFIER       ::= {xupsTrapControl 4}
xupsTrapDefined  OBJECT IDENTIFIER       ::= {xupsTrapSource 1}
--      c) The third is for traps with defined variables 
--              plus ifIndex & ifDescr
xupsTrapPortN    OBJECT IDENTIFIER       ::= {xupsTrapSource 2}
--
****************************************************************************
--
****************************************************************************
--
-- Traps from xupsTrapBasic source (xupstb):
--
xupstbControlOff TRAP-TYPE
    ENTERPRISE xupsTrapBasic
    DESCRIPTION
        "The UPS output power will turn off in a number of
        seconds equal to upsControlOutputOffTrapDelay."
    --#SEVERITY CRITICAL
    ::= 1




In my management application I have to enter the OIDs numerically to be
alarmed.  Using snmptranslate I know the OID of xupstbControlOff

[cfowler@shuttle ~]$ snmptranslate -On XUPS-MIB::xupstbControlOff
.1.3.6.1.4.1.534.1.0.0.0.1

I do not see a variable list that is sent with that trap but I must
enter one in the application.  Can someone tell me what is sent and how
they read that in the MIB?

Thanks,
Chris





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.