1POWERSUPPLY-MIB DEFINITIONS ::= BEGIN 2 3IMPORTS 4 MODULE-IDENTITY, OBJECT-TYPE, Integer32, Unsigned32, Counter32 5 FROM SNMPv2-SMI 6 7 MODULE-COMPLIANCE, OBJECT-GROUP 8 FROM SNMPv2-CONF 9 10 SnmpAdminString 11 FROM SNMP-FRAMEWORK-MIB 12 13 TEXTUAL-CONVENTION 14 FROM SNMPv2-TC 15 16 hpSwitch 17 FROM HP-ICF-OID; 18 19hpicfPsMIB MODULE-IDENTITY 20 LAST-UPDATED "200808271000Z" --August 27, 2008 10:00 GMT 21 ORGANIZATION "HP Networking" 22 CONTACT-INFO "Hewlett-Packard Company 23 8000 Foothills Blvd. 24 Roseville, CA 95747" 25 DESCRIPTION "This MIB module is for representing 26 switch power supply entity." 27 REVISION "200808271000Z" --August 27, 2008 10:00 GMT 28 DESCRIPTION "Initial Version of Power Supply MIB, Version 1" 29 ::= { hpSwitch 55 } 30 31hpicfEntityPs OBJECT IDENTIFIER ::= { hpicfPsMIB 1 } 32 33-- ******************************************************************** 34-- POWER SUPPLY Textual Conventions 35-- ******************************************************************** 36 37HpicfDcPsIndex ::= TEXTUAL-CONVENTION 38 DISPLAY-HINT "d" 39 STATUS current 40 DESCRIPTION "A unique value that serves as index to identify the power supply." 41 SYNTAX Unsigned32 42 43HpicfDcPsState ::= TEXTUAL-CONVENTION 44 STATUS current 45 DESCRIPTION "An enumerated value which provides the state of the 46 switch power supply entity." 47 SYNTAX INTEGER { 48 psNotPresent(1), 49 psNotPlugged(2), 50 psPowered(3), 51 psFailed(4), 52 psPermFailure(5), 53 psMax(6) 54 } 55 56hpicfPsTable OBJECT-TYPE 57 SYNTAX SEQUENCE OF HpicfPsEntry 58 MAX-ACCESS not-accessible 59 STATUS current 60 DESCRIPTION "This table contains one row per switch power supply entity." 61 ::= { hpicfEntityPs 1 } 62 63hpicfPsEntry OBJECT-TYPE 64 SYNTAX HpicfPsEntry 65 MAX-ACCESS not-accessible 66 STATUS current 67 DESCRIPTION "Information about the power supply physical entity 68 table." 69 INDEX { hpicfPsBayNum } 70 ::= { hpicfPsTable 1 } 71 72HpicfPsEntry ::= SEQUENCE { 73 hpicfPsBayNum HpicfDcPsIndex, 74 hpicfPsState HpicfDcPsState, 75 hpicfPsFailures Counter32, 76 hpicfPsTemp Integer32, 77 hpicfPsVoltageInfo SnmpAdminString, 78 hpicfPsWattageCur Integer32, 79 hpicfPsWattageMax Integer32, 80 hpicfPsLastCall Counter32 81} 82 83hpicfPsBayNum OBJECT-TYPE 84 SYNTAX HpicfDcPsIndex 85 MAX-ACCESS not-accessible 86 STATUS current 87 DESCRIPTION "The index of switch power supply entity." 88 ::= { hpicfPsEntry 1 } 89 90hpicfPsState OBJECT-TYPE 91 SYNTAX HpicfDcPsState 92 MAX-ACCESS read-only 93 STATUS current 94 DESCRIPTION "The physical state of the switch power supply entity." 95 ::= { hpicfPsEntry 2 } 96 97hpicfPsFailures OBJECT-TYPE 98 SYNTAX Counter32 99 MAX-ACCESS read-only 100 STATUS current 101 DESCRIPTION "Number of times power supply has failed." 102 ::= { hpicfPsEntry 3 } 103 104hpicfPsTemp OBJECT-TYPE 105 SYNTAX Integer32 106 MAX-ACCESS read-only 107 STATUS current 108 DESCRIPTION "The temperature of the power supply in Celsius" 109 ::= { hpicfPsEntry 4 } 110 111hpicfPsVoltageInfo OBJECT-TYPE 112 SYNTAX SnmpAdminString (SIZE(0..32)) 113 MAX-ACCESS read-only 114 STATUS current 115 DESCRIPTION "The voltage info and max current of power supply. 116 e.g. AC 120V/220V. " 117 ::= { hpicfPsEntry 5 } 118 119hpicfPsWattageCur OBJECT-TYPE 120 SYNTAX Integer32 121 MAX-ACCESS read-only 122 STATUS current 123 DESCRIPTION "The present power supply wattage information" 124 ::= { hpicfPsEntry 6 } 125 126hpicfPsWattageMax OBJECT-TYPE 127 SYNTAX Integer32 128 MAX-ACCESS read-only 129 STATUS current 130 DESCRIPTION "The maximum wattage of the power supply." 131 ::= { hpicfPsEntry 7 } 132 133hpicfPsLastCall OBJECT-TYPE 134 SYNTAX Counter32 135 MAX-ACCESS read-only 136 STATUS current 137 DESCRIPTION "The number of seconds since the switch power supply is up." 138 ::= { hpicfPsEntry 8 } 139 140-- ******************************************************************** 141-- POWER SUPPLY Conformance 142--* ******************************************************************* 143 hpicfPsConformance OBJECT IDENTIFIER ::= { hpicfPsMIB 2 } 144 hpicfPsCompliance OBJECT IDENTIFIER ::= { hpicfPsConformance 1 } 145 hpicfPsGroups OBJECT IDENTIFIER ::= { hpicfPsConformance 2 } 146 147-- ******************************************************************** 148-- POWER SUPPLY Complicance 149-- ******************************************************************** 150 hpicfDcPsCompliance MODULE-COMPLIANCE 151 STATUS current 152 DESCRIPTION 153 "The compliance statement for entries which implement the 154 POWER SUPPLY MIB." 155 MODULE 156 MANDATORY-GROUPS 157 { 158 hpicfPsGroup 159 } 160 GROUP hpicfPsGroup 161 DESCRIPTION "Objects associated with Entity POWER SUPPLY." 162 ::= { hpicfPsCompliance 1 } 163 164-- 165-- POWER SUPPLY Groups 166-- 167 hpicfPsGroup OBJECT-GROUP 168 OBJECTS 169 { 170 hpicfPsState, 171 hpicfPsFailures, 172 hpicfPsTemp, 173 hpicfPsVoltageInfo, 174 hpicfPsWattageCur, 175 hpicfPsWattageMax, 176 hpicfPsLastCall 177 } 178 STATUS current 179 DESCRIPTION "POWER SUPPLY parameters " 180 ::= { hpicfPsGroups 1 } 181END 182