-- Aperi Storage Manager
-- (C) Copyright IBM Corp. 2000, 2006
-- All rights reserved. This program and the accompanying materials
-- are made available under the terms of the Eclipse Public License v1.0
-- which accompanies this distribution, and is available at
-- http://www.eclipse.org/legal/epl-v10.html
--

TIVOLI-SRM-MIB DEFINITIONS ::= BEGIN

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

ibm               OBJECT IDENTIFIER ::= { enterprises 2 }
ibmProd           OBJECT IDENTIFIER ::= { ibm 6 }
tivoliSRM         OBJECT IDENTIFIER ::= { ibmProd 194 }

common            OBJECT IDENTIFIER ::= { tivoliSRM 1 }
commonServer      OBJECT IDENTIFIER ::= { common 1 }

srm               OBJECT IDENTIFIER ::= { tivoliSRM 2 }
srmServer         OBJECT IDENTIFIER ::= { srm 1 }

scheduler         OBJECT IDENTIFIER ::= { tivoliSRM 3 }
schedulerServer   OBJECT IDENTIFIER ::= { scheduler 1 }

db                OBJECT IDENTIFIER ::= { tivoliSRM 4 }
dbServer          OBJECT IDENTIFIER ::= { db 1 }


serverName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The name of the Aperi Data server generating the trap."
    ::= { commonServer 1 }

alertName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The name of the triggered alert."
    ::= { commonServer 2 }

alertType OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The type of alert that was triggered."
    ::= { commonServer 3 }


hostName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The name of the alerting computer."
    ::= { srmServer 1 }

resourceName OBJECT-TYPE
    SYNTAX DisplayString
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION "The name of the alerting resource."
    ::= { srmServer 2 }

resourceType OBJECT-TYPE
    SYNTAX DisplayString
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION "The type of the alerting resource."
    ::= { srmServer 3 }

threshold OBJECT-TYPE
    SYNTAX DisplayString
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION "The alert's triggering threshold."
    ::= { srmServer 4 }

currentValue OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The alerting resource's current value."
    ::= { srmServer 5 }

previousValue OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The alerting resource's previous value."
    ::= { srmServer 6 }

violatorName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The name of the over quota user or OS/Group."
    ::= { srmServer 8 }

violatorType OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The type of storage consumer - user or OS/Group."
    ::= { srmServer 9 }

filerName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The filer triggering the alert."
    ::= { srmServer 10 }

currentCapacity OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The current capacity of the alerting resource."
    ::= { srmServer 11 }

targetCapacity OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The target capacity of the alerting resource."
    ::= { srmServer 12 }

freeSpace OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The free space of the alerting resource."
    ::= { srmServer 13 }

-- a6@AlD: f9447
virtualServer OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The virtual server of the alerting resource."
    ::= { srmServer 14 }

-- a6@AlD: f9447
clusterName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The cluster name of the alerting resource."
    ::= { srmServer 15 }

-- a6@AlD: f9447
currentNodeName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The current node name of alerting resource."
    ::= { srmServer 16 }

-- a6@AlD: f9447
previousNodeName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The previous node name of alerting resource."
    ::= { srmServer 17 }

storageSubsystemName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The name of the storage subsystem."
    ::= { srmServer 18 }

deviceName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The name of the stroage subsystem, switch, or host."
    ::= { srmServer 19 }

thresholdBoundary OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The threshold boundary that was exceeded."
    ::= { srmServer 20 }

thresholdTime OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The time on device server when this threshold was exceeded."
    ::= { srmServer 21 }
	
thresholdName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The name of the threshold was exceeded."
    ::= { srmServer 22 }
	
threshDescription OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The discription of this threshold voilation."
    ::= { srmServer 23 }
		
startTime OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The starting time of this performance data collector."
    ::= { srmServer 24 }	
	
stopTime OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The failed time of this performance data collector."
    ::= { srmServer 25 }
	
error OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The failure error message of this performance data collector."
    ::= { srmServer 26 }
	
recordCnt OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The number of data records that were already collected before the failure."
    ::= { srmServer 27 }

scheduleName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The name of the failed job schedule."
    ::= { schedulerServer 1 }

scheduleType OBJECT-TYPE
    SYNTAX DisplayString
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION "The type of schedule that failed."
    ::= { schedulerServer 2 }

scheduleRun OBJECT-TYPE
    SYNTAX DisplayString
    ACCESS not-accessible
    STATUS mandatory
    DESCRIPTION "The schedule run number that failed."
    ::= { schedulerServer 3 }

rdbmsType   OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The type of RDBMS that triggered the alert."
    ::= { dbServer 1 }

rdbmsName   OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The name of the alerting RDBMS."
    ::= { dbServer 2 }

databaseName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The name of the alerting database."
    ::= { dbServer 3 }

segmentName OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The creator and name of the alerting Oracle segment."
    ::= { dbServer 4 }

segmentType OBJECT-TYPE
    SYNTAX  DisplayString
    ACCESS  not-accessible
    STATUS  mandatory
    DESCRIPTION "The type of Oracle segment that triggered the alert."
    ::= { dbServer 5 }



ramTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, currentValue, oldValue, alertType, resourceType, alertName, serverName }
    DESCRIPTION "The amount of RAM on a managed computer has changed."
    ::= 1

virtualMemoryTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, currentValue, oldValue, alertType, resourceType, alertName, serverName }
    DESCRIPTION "The amount of virtual memory on a managed computer has changed."
    ::= 2

newDiskTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, alertType, resourceType, alertName, serverName, storageSubsystemName }
    DESCRIPTION "A new disk has been discovered on a managed computer."
    ::= 3

missingDiskTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, alertType, resourceType, alertName, serverName, storageSubsystemName }
    DESCRIPTION "A disk has been removed from a managed computer."
    ::= 4

diskDefectTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, threshold, currentValue, oldValue, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A new grown defect has been detected on a managed disk."
    ::= 5

diskFailureTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed disk has predicted that a disk failure is imminent."
    ::= 6

newFSTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A new filesystem has been discovered on a managed computer."
    ::= 7

missingFSTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A filesystem has been removed or unmounted from a managed computer."
    ::= 8

reconfiguredFSTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "The physical space definition of a managed filesystem has been reconfigured."
    ::= 9

fsFreeSpaceTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, threshold, currentValue, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed filesystem is low on free space."
    ::= 10

fsInodeTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, threshold, currentValue, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed unix filesystem is low on free inodes."
    ::= 11

missingDirTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A monitored directory has been removed from a managed computer."
    ::= 13

quotaTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, threshold, currentValue, alertType, resourceType, violatorName, violatorType, alertName, serverName }
    DESCRIPTION "A user or directory storage quota has been exceeded."
    ::= 14

constraintTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, threshold, currentValue, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A constraint on a managed filesystem has been violated."
    ::= 15

pingTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, threshold, currentValue, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed computer is offline."
    ::= 16

discoveryTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, alertType, alertName, serverName }
    DESCRIPTION "A new unmanaged computer has been discovered."
    ::= 17

newNasComputerTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, alertType, alertName, serverName }
    DESCRIPTION "A new filer has been discovered."
    ::= 18

jobFailedTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { scheduleName, scheduleType, scheduleRun, alertType, alertName, serverName }
    DESCRIPTION "A scheduled job has failed."
    ::= 20

missingFilerTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { filerName, resourceType, resourceName, alertType, alertName, serverName }
    DESCRIPTION "A filer is no longer accessible via the specified resource."
    ::= 21

missingDiskArrayTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A disk array is no longer visible to a managed computer."
    ::= 22

newDiskArrayTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceType, resourceName, alertType, alertName, serverName }
    DESCRIPTION "A new Disk Array has been discovered."
    ::= 23

fsExtendTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, threshold, currentCapacity, targetCapacity, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed filesystem will be extended."
    ::= 24

fsStopExtendTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, threshold, freeSpace, currentCapacity, alertType, resourceType, alertName, serverName }
    DESCRIPTION "Extension of a managed filesystem is prevented."
    ::= 25

vsAddedTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, virtualServer, clusterName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A new Virtual Server has been added."
    ::= 26

vsRemovedTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, virtualServer, clusterName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A new Virtual Server has been removed."
    ::= 27

vsMovedTrap TRAP-TYPE
    ENTERPRISE srmServer
    VARIABLES { hostName, resourceName, virtualServer, clusterName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A new Virtual Server has been moved."
    ::= 28

ptPerfThreshold TRAP-TYPE
	ENTERPRISE srmServer
	VARIABLES { resourceName, deviceName, currentValue,thresholdName, thresholdBoundary,threshold, thresholdTime, thresholdBoundary, alertType, alertName, serverName, threshDescription }
	DESCRIPTION "Threshold has been exceeded in performance data for a device."
	::= 29

pmFail TRAP-TYPE
	ENTERPRISE srmServer
	VARIABLES { deviceName, startTime, stopTime, Error, recordCnt}
	DESCRIPTION "Performance monitor failed for a device."
	::= 30


archiveLogTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, databaseName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "An archived log directory quota has been exceeded."
    ::= 1

newTsTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, rdbmsType, rdbmsName, databaseName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A new database/tablespace has been discovered on a managed RDBMS."
    ::= 2

droppedTsTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, rdbmsType, rdbmsName, databaseName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A database/tablespace has been dropped from a managed RDBMS."
    ::= 3

tsFreespaceTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, databaseName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed database/tablespace is low on freespace."
    ::= 4

tsFragmentedTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, databaseName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "Tablespace freespace is fragmented across too many extents."
    ::= 5

offlineTsTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, rdbmsType, rdbmsName, databaseName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed database/tablespace has been taken offline."
    ::= 6

tsExtentSizeTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, databaseName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed tablespace's largest free extent is too small."
    ::= 7

tbFragmentedTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, databaseName, segmentName, segmentType, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed table segment has taken too many extents."
    ::= 8

tbMaxExtentsTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, databaseName, segmentName, segmentType, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed table segment is near its maximum allowed extents."
    ::= 9

droppedTbTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, rdbmsType, rdbmsName, databaseName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed table has been dropped."
    ::= 10

tbSizeTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, databaseName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed table has exceeded its storage quota."
    ::= 11

chainedRowTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, databaseName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed table has too many chained rows."
    ::= 12

tbOverAllocatedTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, databaseName, segmentName, segmentType, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed table segment has too many empty blocks."
    ::= 13

newDeviceTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, rdbmsType, rdbmsName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A new device has been discovered on a managed Sybase instance."
    ::= 14

droppedDeviceTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, rdbmsType, rdbmsName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A device has been dropped from a managed Sybase instance."
    ::= 15

dvFreespaceLowTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "Total device freespace is low on a managed Sybase instance."
    ::= 16

dvFreespaceHighTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES  { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "Total device freespace is high on a managed Sybase instance."
    ::= 17

dbLogFreespaceTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed database/tablespace is low on log freespace."
    ::= 18

dbDumpTimeTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { hostName, resourceName, threshold, currentValue, rdbmsType, rdbmsName, alertType, resourceType, alertName, serverName }
    DESCRIPTION "A managed Sybase database has not been backed up in the specified time."
    ::= 19

jobFailedTrap TRAP-TYPE
    ENTERPRISE dbServer
    VARIABLES { scheduleName, scheduleType, scheduleRun, alertType, alertName, serverName }
    DESCRIPTION "A scheduled job has failed."
    ::= 20

END
