-- ***************************************************************** -- GARRETTCOM-FAN-MIB to implement FAN functionality -- -- Copyright (c) 2018 by GarrettCom, Inc. -- All rights reserved. -- ***************************************************************** -- GARRETTCOM-FAN-MIB DEFINITIONS ::= BEGIN IMPORTS MODULE-IDENTITY, OBJECT-TYPE, Integer32, INTEGER, Gauge32 FROM SNMPv2-SMI MODULE-COMPLIANCE, OBJECT-GROUP FROM SNMPv2-CONF RowStatus, TEXTUAL-CONVENTION FROM SNMPv2-TC SnmpAdminString FROM SNMP-FRAMEWORK-MIB gcAtlantisBaseFanMib FROM GARRETTCOM-SMI; gcAtlantisFanMib MODULE-IDENTITY LAST-UPDATED "201806110000Z" ORGANIZATION "GarrettCom Inc." CONTACT-INFO "Postal: GarrettCom Incorporated 255 Fourier Avenue, Fremont, CA-94539 USA Phone: +1 510 438 9071 E-mail: support@garrettcom.com WWW: http://www.garrettcom.com" DESCRIPTION "The MIB module implements the Atlantis FAN configuration MIB." REVISION "201806110000Z" DESCRIPTION "Initial version of this MIB module." ::= { gcAtlantisBaseFanMib 1} gcFanMIBObjects OBJECT IDENTIFIER ::= { gcAtlantisFanMib 1 } gcFanConfig OBJECT IDENTIFIER ::= { gcFanMIBObjects 1 } GcFanEntryId ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "A unique value, greater than zero, for each FAN i.e 0 for Power Supply Fan 1, 1 for Power Supply Fan 2, 2 for Chassis Fan A, 3 for Chassis Fan B." SYNTAX Integer32 (0..100) GcFanEntryName ::= TEXTUAL-CONVENTION STATUS current DESCRIPTION "This textual convention defines the FAN name. For Example: Power Supply Fan 1, Power Supply Fan 2, Chassis Fan A, Chassis Fan B. The object value shall be an alphanumeric string." SYNTAX OCTET STRING (SIZE (0..48)) -- ************************************************ -- FAN Configuration Table -- ************************************************ gcFanConfigTable OBJECT-TYPE SYNTAX SEQUENCE OF GcFanConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "FAN Configuration Table" ::= { gcFanConfig 1 } gcFanConfigEntry OBJECT-TYPE SYNTAX GcFanConfigEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "An entry in the FAN Configuration Table." INDEX { gcFanEntryId } ::= { gcFanConfigTable 1 } GcFanConfigEntry ::= SEQUENCE { gcFanEntryId GcFanEntryId, gcFanEntryRpm INTEGER, gcFanEntryStatus INTEGER, gcFanEntryName GcFanEntryName } gcFanEntryId OBJECT-TYPE SYNTAX GcFanEntryId MAX-ACCESS not-accessible STATUS current DESCRIPTION "The FAN identification Number i.e Power Supply Fan 1, Power Supply Fan 2, Chassis Fan 1, Chassis Fan 2. " ::= { gcFanConfigEntry 1 } gcFanEntryRpm OBJECT-TYPE SYNTAX INTEGER MAX-ACCESS read-only STATUS current DESCRIPTION "This parameter determines the FAN RPM. IN case of FAN status as Not Installed, this parameter will return default value i.e 0." DEFVAL { 0 } ::= { gcFanConfigEntry 2 } gcFanEntryStatus OBJECT-TYPE SYNTAX INTEGER { on (1), off (2), faulted (3), notInstalled (4) } MAX-ACCESS read-only STATUS current DESCRIPTION "This parameter determines the FAN status. Default value is Not Installed." DEFVAL { 4 } ::= { gcFanConfigEntry 3 } gcFanEntryName OBJECT-TYPE SYNTAX GcFanEntryName MAX-ACCESS read-only STATUS current DESCRIPTION "This parameter defines the fan name. The possible fan names could be Power Supply Fan 1, Power Supply Fan 2, Chassis Fan A, Chassis Fan B" ::= { gcFanConfigEntry 4 } -- ******************************************************************* -- Trap Definitions -- ******************************************************************* gcFanNotifications OBJECT IDENTIFIER ::= { gcAtlantisFanMib 2 } gcFanStatusNotify NOTIFICATION-TYPE OBJECTS { gcFanEntryId, gcFanEntryStatus } STATUS current DESCRIPTION "The gcFanSatusNotify trap indicates that the FAN status corresponding to given FAN Id. " ::= { gcFanNotifications 1 } END