#* **************************************************************************
#*
#*                  Insight Integration for CA Unicenter
#*
#*      Copyright 1996,2003 Hewlett-Packard Development Company, L.P.
#*
#*      Hewlett-Packard Company shall not be liable for technical or
#*      editorial errors or omissions contained herein. The information in
#*      this document is provided "as is" without warranty of any kind and
#*      is subject to change without notice. The warranties for HP products
#*      are set forth in the express limited warranty statements
#*      accompanying such products. Nothing herein should be construed as
#*      constituting an additional warranty.
#*
#*      Confidential computer software. Valid license from HP required for
#*      possession, use or copying. Consistent with FAR 12.211 and 12.212,
#*      Commercial Computer Software, Computer Software Documentation, and
#*      Technical Data for Commercial Items are licensed to the U.S.
#*      Government under vendor's standard commercial license.
#*
#* **************************************************************************
#*                                                                        
#* PROPRIETARY NOTE:                                                      
#*     This document contains information confidential and proprietary to 
#*     Hewlett-Packard and shall not be reproduced or transferred to other
#*     documents or disclosed to others or used for any purpose other than 
#*     that for which it was obtained without the expressed written consent
#*     of Hewlett-Packard Company.
#*                                                                        
#* **************************************************************************

#-----------------------------
# Definiton for trap 14004
#-----------------------------

DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14004*'
       MSGNODE=*
       DEScription='HP - ATA Hard Drive Status Change (14004)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - ATA Hard Drive Status has changed.  Consult the original event for more information.'
       SEVERITY=W
       ATTRIB=default
       COLOR=orange
DEFine MSGACTion NAME=(*,20)
       ACTION=ANNOTATE TEXT='This trap signifies that the agent has detected a change in the status of an ATA disk drive.  The variable cpqIdeAtaDiskStatus indicates the current disk drive status, but that information could not be parsed.'
DEFine MSGACTion NAME=(*,30)
       ACTION=ANNOTATE TEXT='The last 3 variables in the trap are cpqIdeAtaDiskStatus, cpqIdeAtaDiskChannel, and cpqIdeAtaDiskNumber.  The status variable may have values of other(1), ok(2), smartError(3), or failed(4).'

DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14004 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 1*'
       MSGNODE=*
       DEScription='HP - ATA Hard Drive Status Change: OTHER (14004)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - ATA Hard Drive Status Change: OTHER (Controller Index: &26, Disk Index: &31, Disk Model: &36 &37, Firmware Rev: &42, S/N: &47)'
       SEVERITY=I
       ATTRIB=default
       COLOR=blue

DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14004 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 2*'
       MSGNODE=*
       DEScription='HP - ATA Hard Drive Status Change: OK (14004)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - ATA Hard Drive Status Change: OK (Controller Index: &26, Disk Index: &31, Disk Model: &36 &37, Firmware Rev: &42, S/N: &47)'
       SEVERITY=I
       ATTRIB=default
       COLOR=green

DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14004 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 3*'
       MSGNODE=*
       DEScription='HP - ATA Hard Drive Status Change: SmartError (14004)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - ATA Hard Drive Status Change: SmartError (Controller Index: &26, Disk Index: &31, Disk Model: &36 &37, Firmware Rev: &42, S/N: &47)'
       SEVERITY=W
       ATTRIB=default
       COLOR=orange
DEFine MSGACTion NAME=(*,20)
       ACTION=ANNOTATE TEXT='If the physical drive status is smartError(3) or failed(4), replace the drive.'

DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14004 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 4*'
       MSGNODE=*
       DEScription='HP - ATA Hard Drive Status Change: FAILED (14004)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - ATA Hard Drive Status Change: FAILED (Controller Index: &26, Disk Index: &31, Disk Model: &36 &37, Firmware Rev: &42, S/N: &47)'
       SEVERITY=E
       ATTRIB=default
       COLOR=red
DEFine MSGACTion NAME=(*,20)
       ACTION=ANNOTATE TEXT='If the physical drive status is smartError(3) or failed(4), replace the drive.'

#-----------------------------
# Definiton for trap 14005
#-----------------------------

DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14005*'
       MSGNODE=*
       DEScription='HP - IDE Logical Drive Status Change (14005)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - IDE Logical Drive Status has changed.  Consult the original event for more information.'
       SEVERITY=W
       ATTRIB=default
       COLOR=orange
DEFine MSGACTion NAME=(*,20)
       ACTION=ANNOTATE TEXT='This trap signifies that the agent has detected a change in the status of an IDE logical drive.  The variable cpqIdeLogicalDriveStatus indicates the current logical drive status, but that information could not be parsed.'
DEFine MSGACTion NAME=(*,30)
       ACTION=ANNOTATE TEXT='The last variable in the trap is cpqIdeLogicalDriveStatus.  The status variable may have values of other(1), ok(2), degraded(3), rebuilding(4), or failed(5).'


DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14005 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 1*'
       MSGNODE=*
       DEScription='HP - IDE Logical Drive Status Change: OTHER (14005)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - IDE Logical Drive Status Change: OTHER (Controller Model: &26 &27, Controller Slot: &32, Controller Index: &37, Logical Drive Index: &42)'
       SEVERITY=I
       ATTRIB=default
       COLOR=blue

DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14005 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 2*'
       MSGNODE=*
       DEScription='HP - IDE Logical Drive Status Change: OK (14005)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - IDE Logical Drive Status Change: OK (Controller Model: &26 &27, Controller Slot: &32, Controller Index: &37, Logical Drive Index: &42)'
       SEVERITY=I
       ATTRIB=default
       COLOR=green

DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14005 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 3*'
       MSGNODE=*
       DEScription='HP - IDE Logical Drive Status Change: DEGRADED (14005)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - IDE Logical Drive Status Change: DEGRADED (Controller Model: &26 &27, Controller Slot: &32, Controller Index: &37, Logical Drive Index: &42)'
       SEVERITY=W
       ATTRIB=default
       COLOR=orange

DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14005 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 4*'
       MSGNODE=*
       DEScription='HP - IDE Logical Drive Status Change: REBUILDING (14005)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - IDE Logical Drive Status Change: REBUILDING (Controller Model: &26 &27, Controller Slot: &32, Controller Index: &37, Logical Drive Index: &42)'
       SEVERITY=W
       ATTRIB=default
       COLOR=orange

DEFine MSGREcord MSGID='* SNMPTRAP: * * *232 * * 6 14005 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 5*'
       MSGNODE=*
       DEScription='HP - IDE Logical Drive Status Change: FAILED (14005)'
       TYPE=MSG
DEFine MSGACTion NAME=(*,10)
       ACTION=sendkeep TEXT='HP - IDE Logical Drive Status Change: FAILED (Controller Model: &26 &27, Controller Slot: &32, Controller Index: &37, Logical Drive Index: &42)'
       SEVERITY=E
       ATTRIB=default
       COLOR=red
DEFine MSGACTion NAME=(*,20)
       ACTION=ANNOTATE TEXT='If the logical drive status is failed(5), examine the array for failed drives that need replacement.'
