-- Copyright (c) 2007 gateProtect AG Germany. All rights reserved. -- $Id: GATEPROTECT-HARDDISKS-MIB.txt,v 1.5 2007/10/23 14:01:05 Jan Schumacher Exp $ GATEPROTECT-HARDDISKS-MIB DEFINITIONS ::= BEGIN IMPORTS DisplayString FROM RFC1213-MIB TruthValue FROM SNMPv2-TC enterprises, OBJECT-TYPE, NOTIFICATION-TYPE, TimeTicks FROM RFC1155-SMI; -- MODULE-IDENTITY -- OrgName -- gateProtect AG Germany -- ContactInfo -- gateProtect AG -- Valentinskamp 24 -- D-20354 Hamburg -- Germany -- -- Phone: +49 1805 428 377 -- E-Mail: support@gateprotect.de -- WWW: http://www.gateprotect.de gateProtect OBJECT IDENTIFIER ::= { enterprises 29577 } gpHardDisks OBJECT IDENTIFIER ::= { gateProtect 2 } gpHardDisksPartitions OBJECT IDENTIFIER ::= { gpHardDisks 1 } gpHardDisksUsage OBJECT IDENTIFIER ::= { gpHardDisks 2 } gpHardDisksRAID OBJECT IDENTIFIER ::= { gpHardDisks 3 } gpHardDisksTraps OBJECT IDENTIFIER ::= { gpHardDisks 128 } -- -- gpHardDisksPartitions -- gpHardDisksPartitionsTable OBJECT-TYPE SYNTAX SEQUENCE OF GPHardDisksPartitionsEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "List of all partitions in the system." ::= { gpHardDisksPartitions 1 } gpHardDisksPartitionsEntry OBJECT-TYPE SYNTAX GPHardDisksPartitionsEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "List entry containing all information about a particular harddisk partition." INDEX { gpHardDisksPartitionsEntryIndex } ::= { gpHardDisksPartitionsTable 1 } GPHardDisksPartitionsEntry ::= SEQUENCE { gpHardDisksPartitionsEntryIndex INTEGER, gpHardDisksPartitionsEntryName DisplayString, gpHardDisksPartitionsEntryDevice DisplayString, gpHardDisksPartitionsEntrySize INTEGER, gpHardDisksPartitionsEntryUsed INTEGER } gpHardDisksPartitionsEntryIndex OBJECT-TYPE SYNTAX INTEGER ( 1 .. 2147483647 ) ACCESS read-only STATUS mandatory DESCRIPTION "Index number of the partition." ::= { gpHardDisksPartitionsEntry 1 } gpHardDisksPartitionsEntryName OBJECT-TYPE SYNTAX DisplayString ( SIZE ( 0 .. 255 ) ) ACCESS read-only STATUS mandatory DESCRIPTION "Name of the mountpoint of the partition." ::= { gpHardDisksPartitionsEntry 2 } gpHardDisksPartitionsEntryDevice OBJECT-TYPE SYNTAX DisplayString ( SIZE ( 0 .. 255 ) ) ACCESS read-only STATUS mandatory DESCRIPTION "Name of the device of the partition." ::= { gpHardDisksPartitionsEntry 3 } gpHardDisksPartitionsEntrySize OBJECT-TYPE SYNTAX INTEGER ( 0 .. 2147483647 ) ACCESS read-only STATUS mandatory DESCRIPTION "Size of the partition in megabytes." ::= { gpHardDisksPartitionsEntry 4 } gpHardDisksPartitionsEntryUsed OBJECT-TYPE SYNTAX INTEGER ( 0 .. 2147483647 ) ACCESS read-only STATUS mandatory DESCRIPTION "Amount of megabytes used on the partition." ::= { gpHardDisksPartitionsEntry 5 } -- -- gpHardDisksUsage -- gpHardDisksUsageTable OBJECT-TYPE SYNTAX SEQUENCE OF GPHardDisksUsageEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "List of all harddisks in the system." ::= { gpHardDisksUsage 1 } gpHardDisksUsageEntry OBJECT-TYPE SYNTAX GPHardDisksUsageEntry ACCESS not-accessible STATUS mandatory DESCRIPTION "List entry containing all information about a particular harddisk." INDEX { gpHardDisksUsageEntryIndex } ::= { gpHardDisksUsageTable 1 } GPHardDisksUsageEntry ::= SEQUENCE { gpHardDisksUsageEntryIndex INTEGER, gpHardDisksUsageEntryName DisplayString, gpHardDisksUsageEntryDevice DisplayString, gpHardDisksUsageEntryReadAccesses INTEGER, gpHardDisksUsageEntryWriteAccesses INTEGER } gpHardDisksUsageEntryIndex OBJECT-TYPE SYNTAX INTEGER ( 1 .. 2147483647 ) ACCESS read-only STATUS mandatory DESCRIPTION "Index number of the hard disk." ::= { gpHardDisksUsageEntry 1 } gpHardDisksUsageEntryName OBJECT-TYPE SYNTAX DisplayString ( SIZE ( 0 .. 255 ) ) ACCESS read-only STATUS mandatory DESCRIPTION "Vendor and model name of the harddisk." ::= { gpHardDisksUsageEntry 2 } gpHardDisksUsageEntryDevice OBJECT-TYPE SYNTAX DisplayString ( SIZE ( 0 .. 255 ) ) ACCESS read-only STATUS mandatory DESCRIPTION "Name of the device of the harddisk." ::= { gpHardDisksUsageEntry 3 } gpHardDisksUsageEntryReadAccesses OBJECT-TYPE SYNTAX INTEGER ( 0 .. 2147483647 ) ACCESS read-only STATUS mandatory DESCRIPTION "Actual number of read accesses on the harddisk per second." ::= { gpHardDisksUsageEntry 4 } gpHardDisksUsageEntryWriteAccesses OBJECT-TYPE SYNTAX INTEGER ( 0 .. 2147483647 ) ACCESS read-only STATUS mandatory DESCRIPTION "Actual number of write accesses on the harddisk per second." ::= { gpHardDisksUsageEntry 5 } -- -- gpHardDisksRAID -- -- ---- ---- -- Traps -- ---- ---- gpHardDisksTrapsPartitionsName OBJECT-TYPE SYNTAX DisplayString ( SIZE ( 0 .. 255 ) ) ACCESS read-only STATUS mandatory DESCRIPTION "Name of the mountpoint of the partition." ::= { gpHardDisksTraps 1 } gpHardDisksTrapsPartitionsDevice OBJECT-TYPE SYNTAX DisplayString ( SIZE ( 0 .. 255 ) ) ACCESS read-only STATUS mandatory DESCRIPTION "Name of the device of the partition." ::= { gpHardDisksTraps 2 } gpHardDisksTrapsPartitionsSize OBJECT-TYPE SYNTAX INTEGER ( 0 .. 2147483647 ) ACCESS read-only STATUS mandatory DESCRIPTION "Size of the partition in megabytes." ::= { gpHardDisksTraps 3 } gpHardDisksTrapsPartitionsUsed OBJECT-TYPE SYNTAX INTEGER ( 0 .. 2147483647 ) ACCESS read-only STATUS mandatory DESCRIPTION "Amount of megabytes used on the partition." ::= { gpHardDisksTraps 4 } gpHardDisksTrapsUsageName OBJECT-TYPE SYNTAX DisplayString ( SIZE ( 0 .. 255 ) ) ACCESS read-only STATUS mandatory DESCRIPTION "Vendor and model name of the harddisk." ::= { gpHardDisksTraps 5 } gpHardDisksTrapsUsageDevice OBJECT-TYPE SYNTAX DisplayString ( SIZE ( 0 .. 255 ) ) ACCESS read-only STATUS mandatory DESCRIPTION "Name of the device of the harddisk." ::= { gpHardDisksTraps 6 } gpHardDisksTrapsUsageReadAccesses OBJECT-TYPE SYNTAX INTEGER ( 0 .. 2147483647 ) ACCESS read-only STATUS mandatory DESCRIPTION "Actual number of read accesses on the harddisk per second." ::= { gpHardDisksTraps 7 } gpHardDisksTrapsUsageWriteAccesses OBJECT-TYPE SYNTAX INTEGER ( 0 .. 2147483647 ) ACCESS read-only STATUS mandatory DESCRIPTION "Actual number of write accesses on the harddisk per second." ::= { gpHardDisksTraps 8 } gpHardDisksTrapsRAIDName OBJECT-TYPE SYNTAX DisplayString ( SIZE ( 0 .. 255 ) ) ACCESS read-only STATUS mandatory DESCRIPTION "Name of the RAID device that failed." ::= { gpHardDisksTraps 9 } gpHardDisksTrapsPartitions NOTIFICATION-TYPE ENTERPRISE gpHardDisksTraps VARIABLES { gpHardDisksTrapsPartitionsName, gpHardDisksTrapsPartitionsDevice, gpHardDisksTrapsPartitionsSize, gpHardDisksTrapsPartitionsUsed } DESCRIPTION "Partition usage threshold exceeded." ::= { gpHardDisksTraps 100 } gpHardDisksTrapsUsage NOTIFICATION-TYPE ENTERPRISE gpHardDisksTraps VARIABLES { gpHardDisksTrapsUsageName, gpHardDisksTrapsUsageDevice, gpHardDisksTrapsUsageReadAccesses, gpHardDisksTrapsUsageWriteAccesses } DESCRIPTION "Harddisk load threshold exceeded." ::= { gpHardDisksTraps 200 } gpHardDisksTrapsRAID NOTIFICATION-TYPE ENTERPRISE gpHardDisksTraps VARIABLES { gpHardDisksTrapsRAIDName } DESCRIPTION "A disk in the RAID failed." ::= { gpHardDisksTraps 300 } END