Hello Zenoss Community

It would be useful, when viewing SNMP trap details, for the enumerate name of 
trap varbind values to be displayed (rather than showing the numerical value 
only).

Numerical values are good for event transforms (ie code) but enumerate names 
are good for human operators.


I'll show an example trap here (from the event details tab of an SNMP trap 
event)


Code:

Field                                               Value
examplePowerSupplyStatus.0     brownOut(13)





Zenoss currently just displays


Code:

Field                                               Value
examplePowerSupplyStatus.0     13





Certainly one can create an event transform to specifically handle the value 13 
and update the evt.summary text.  In reality, not every trap from every MIB 
will have an event transform.  

Adding the enumerate name from the MIB adds meaning to a trap that is yet to 
have a specific event transform created for it.



For reference sake here is a MIB snippet from a Compaq hardware monitoring MIB. 
Obviously the enumerate name/human readable word is of great use (given that 
there is no event transform to specifically handle each of those values)


Code:

cpqHeFltTolPowerSupplyStatus OBJECT-TYPE
        SYNTAX  INTEGER {
            noError(1),
            generalFailure(2),
            bistFailure(3),
            fanFailure(4),
            tempFailure(5),
            interlockOpen(6),
            epromFailed(7),
            vrefFailed(8),
            dacFailed(9),
            ramTestFailed(10),
            voltageChannelFailed(11),
            orringdiodeFailed(12),
            brownOut(13),
            giveupOnStartup(14),
            nvramInvalid(15),
            calibrationTableInvalid(16)
            }
        ACCESS  read-only
        STATUS  mandatory
        DESCRIPTION
            "The status of the power supply."
        ::= { cpqHeFltTolPowerSupplyEntry 5 }




Apologies for the long and technical nature of this post.




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=33236#33236

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to