1SFA-INFO DEFINITIONS ::= BEGIN 2 3IMPORTS 4 OBJECT-TYPE FROM RFC-1212 5 enterprises FROM RFC1155-SMI; 6 7 8datadirect OBJECT IDENTIFIER ::= { enterprises 6894 } 9unit OBJECT IDENTIFIER ::= { datadirect 2 } 10eventLog OBJECT IDENTIFIER ::= { unit 10 } 11 12 -- DisplayString: comment out the next line if your MIB compiler complains 13 -- that it is already defined. 14DisplayString ::= OCTET STRING -- containing displayable octets (aka ASCII) 15 16-- temperature indicator 17 18tempNumber OBJECT-TYPE 19 SYNTAX INTEGER 20 ACCESS read-only 21 STATUS mandatory 22 DESCRIPTION 23 "The number of temperature sensors in the system." 24 ::= { unit 1 } 25 26tempTable OBJECT-TYPE 27 SYNTAX SEQUENCE OF TempEntry 28 ACCESS not-accessible 29 STATUS mandatory 30 DESCRIPTION 31 "A list of temperature sensor entries. The number of 32 entries is given by the value of tempNumber." 33 ::= { unit 2 } 34 35tempEntry OBJECT-TYPE 36 SYNTAX TempEntry 37 ACCESS not-accessible 38 STATUS mandatory 39 DESCRIPTION 40 "A temp entry containing temperature sensor status." 41 INDEX { tempIndex } 42 ::= { tempTable 1 } 43 44TempEntry ::= 45 SEQUENCE { 46 tempIndex INTEGER, 47 tempEncId OCTET STRING (SIZE(0..16)), 48 tempEncPos INTEGER, 49 tempStatus INTEGER 50 } 51 52tempIndex OBJECT-TYPE 53 SYNTAX INTEGER 54 ACCESS read-only 55 STATUS mandatory 56 DESCRIPTION 57 "A unique value for each temperature sensor. Its value 58 ranges between 1 and the value of tempNumber." 59 ::= { tempEntry 1 } 60 61tempEncId OBJECT-TYPE 62 SYNTAX OCTET STRING (SIZE(0..16)) 63 ACCESS read-only 64 STATUS mandatory 65 DESCRIPTION 66 "A unique value displaying the enclosure ID number of the 67 temperature sensor." 68 ::= { tempEntry 2 } 69 70tempEncPos OBJECT-TYPE 71 SYNTAX INTEGER 72 ACCESS read-only 73 STATUS mandatory 74 DESCRIPTION 75 "A unique value displaying the position number of the 76 temperature sensor." 77 ::= { tempEntry 3 } 78 79tempStatus OBJECT-TYPE 80 SYNTAX INTEGER { 81 normal (1), 82 warning (2), 83 critical (3) 84 } 85 ACCESS read-only 86 STATUS mandatory 87 DESCRIPTION 88 "The current temperature status of the unit." 89 ::= { tempEntry 4 } 90 91 92 93-- fan indicators 94 95fanNumber OBJECT-TYPE 96 SYNTAX INTEGER 97 ACCESS read-only 98 STATUS mandatory 99 DESCRIPTION 100 "The number of fans in the system." 101 ::= { unit 3 } 102 103fanTable OBJECT-TYPE 104 SYNTAX SEQUENCE OF FanEntry 105 ACCESS not-accessible 106 STATUS mandatory 107 DESCRIPTION 108 "A list of fan entries. The number of 109 entries is given by the value of fanNumber." 110 ::= { unit 4 } 111 112fanEntry OBJECT-TYPE 113 SYNTAX FanEntry 114 ACCESS not-accessible 115 STATUS mandatory 116 DESCRIPTION 117 "A fan entry containing fan status." 118 INDEX { fanIndex } 119 ::= { fanTable 1 } 120 121FanEntry ::= 122 SEQUENCE { 123 fanIndex INTEGER, 124 fanEncId OCTET STRING (SIZE(0..16)), 125 fanEncPos INTEGER, 126 fanStatus INTEGER 127 } 128 129fanIndex OBJECT-TYPE 130 SYNTAX INTEGER 131 ACCESS read-only 132 STATUS mandatory 133 DESCRIPTION 134 "A unique value for each fan. Its value 135 ranges between 1 and the value of fanNumber." 136 ::= { fanEntry 1 } 137 138fanEncId OBJECT-TYPE 139 SYNTAX OCTET STRING (SIZE(0..16)) 140 ACCESS read-only 141 STATUS mandatory 142 DESCRIPTION 143 "A unique value displaying the enclosure ID number of the 144 fan." 145 ::= { fanEntry 2 } 146 147fanEncPos OBJECT-TYPE 148 SYNTAX INTEGER 149 ACCESS read-only 150 STATUS mandatory 151 DESCRIPTION 152 "A unique value displaying the position number of the 153 fan." 154 ::= { fanEntry 3 } 155 156fanStatus OBJECT-TYPE 157 SYNTAX INTEGER { 158 healthy (1), 159 failure (2) 160 } 161 ACCESS read-only 162 STATUS mandatory 163 DESCRIPTION 164 "The current fan status of the unit." 165 ::= { fanEntry 4 } 166 167 168 169-- power indicators 170 171powerNumber OBJECT-TYPE 172 SYNTAX INTEGER 173 ACCESS read-only 174 STATUS mandatory 175 DESCRIPTION 176 "The number of power supplies in the system." 177 ::= { unit 5 } 178 179powerTable OBJECT-TYPE 180 SYNTAX SEQUENCE OF PowerEntry 181 ACCESS not-accessible 182 STATUS mandatory 183 DESCRIPTION 184 "A list of power supply entries. The number of 185 entries is given by the value of powerNumber." 186 ::= { unit 6 } 187 188powerEntry OBJECT-TYPE 189 SYNTAX PowerEntry 190 ACCESS not-accessible 191 STATUS mandatory 192 DESCRIPTION 193 "A power entry containing power supply status." 194 INDEX { powerIndex } 195 ::= { powerTable 1 } 196 197PowerEntry ::= 198 SEQUENCE { 199 powerIndex INTEGER, 200 powerEncId OCTET STRING (SIZE(0..16)), 201 powerEncPos INTEGER, 202 powerStatus INTEGER 203 } 204 205powerIndex OBJECT-TYPE 206 SYNTAX INTEGER 207 ACCESS read-only 208 STATUS mandatory 209 DESCRIPTION 210 "A unique value for each power supply. Its value 211 ranges between 1 and the value of powerNumber." 212 ::= { powerEntry 1 } 213 214powerEncId OBJECT-TYPE 215 SYNTAX OCTET STRING (SIZE(0..16)) 216 ACCESS read-only 217 STATUS mandatory 218 DESCRIPTION 219 "A unique value displaying the enclosure ID number of the 220 power supply." 221 ::= { powerEntry 2 } 222 223powerEncPos OBJECT-TYPE 224 SYNTAX INTEGER 225 ACCESS read-only 226 STATUS mandatory 227 DESCRIPTION 228 "A unique value displaying the position number of the 229 power supply." 230 ::= { powerEntry 3 } 231 232powerStatus OBJECT-TYPE 233 SYNTAX INTEGER { 234 healthy (1), 235 failure (2) 236 } 237 ACCESS read-only 238 STATUS mandatory 239 DESCRIPTION 240 "The current power supply status of the unit." 241 ::= { powerEntry 4 } 242 243 244-- pool status indicators 245 246poolNumber OBJECT-TYPE 247 SYNTAX INTEGER 248 ACCESS read-only 249 STATUS mandatory 250 DESCRIPTION 251 "The number of pools in system." 252 ::= { unit 7 } 253 254poolTable OBJECT-TYPE 255 SYNTAX SEQUENCE OF PoolEntry 256 ACCESS not-accessible 257 STATUS mandatory 258 DESCRIPTION 259 "A list of pool entries. The number of 260 entries is given by the value of poolNumber." 261 ::= { unit 8 } 262 263poolEntry OBJECT-TYPE 264 SYNTAX PoolEntry 265 ACCESS not-accessible 266 STATUS mandatory 267 DESCRIPTION 268 "A pool entry containing a pool's status." 269 INDEX { poolIndex } 270 ::= { poolTable 1 } 271 272PoolEntry ::= 273 SEQUENCE { 274 poolIndex INTEGER, 275 poolId INTEGER, 276 poolType INTEGER, 277 poolNumDisks INTEGER 278 } 279 280poolIndex OBJECT-TYPE 281 SYNTAX INTEGER 282 ACCESS read-only 283 STATUS mandatory 284 DESCRIPTION 285 "A unique value for each pool. Its value 286 ranges between 1 and the value of poolNumber." 287 ::= { poolEntry 1 } 288 289poolId OBJECT-TYPE 290 SYNTAX INTEGER 291 ACCESS read-only 292 STATUS mandatory 293 DESCRIPTION 294 "An integer which give the pool id as displayed in the OID." 295 ::= { poolEntry 2 } 296 297poolType OBJECT-TYPE 298 SYNTAX INTEGER { 299 storage (1), 300 spare (2), 301 unassigned (3) 302 } 303 ACCESS read-only 304 STATUS mandatory 305 DESCRIPTION 306 "The type of pool." 307 ::= { poolEntry 3 } 308 309poolNumDisks OBJECT-TYPE 310 SYNTAX INTEGER 311 ACCESS read-only 312 STATUS mandatory 313 DESCRIPTION 314 "The number of disks in the corresponding pool." 315 ::= { poolEntry 4 } 316 317-- physical disk status indicators 318physicalDiskTable OBJECT-TYPE 319 SYNTAX SEQUENCE OF PhysicalDiskEntry 320 ACCESS not-accessible 321 STATUS mandatory 322 DESCRIPTION 323 "A list of disk entries. The number of 324 entries is given by the value of poolNumDisks." 325 ::= { unit 9 } 326 327physicalDiskEntry OBJECT-TYPE 328 SYNTAX PhysicalDiskEntry 329 ACCESS not-accessible 330 STATUS mandatory 331 DESCRIPTION 332 "The information related to a disk's status." 333 INDEX { physDiskIndex } 334 ::= { physicalDiskTable 1 } 335 336PhysicalDiskEntry ::= 337 SEQUENCE { 338 physDiskIndex INTEGER, 339 physDiskPoolId INTEGER, 340 physDiskId INTEGER, 341 physDiskWWN OCTET STRING (SIZE(0..16)), 342 physDiskEnc OCTET STRING (SIZE(0..16)), 343 physDiskSlot INTEGER, 344 physDiskState INTEGER 345 } 346 347physDiskIndex OBJECT-TYPE 348 SYNTAX INTEGER 349 ACCESS read-only 350 STATUS mandatory 351 DESCRIPTION 352 "A unique value for each physical disk within a pool." 353 ::= { physicalDiskEntry 1 } 354 355physDiskPoolId OBJECT-TYPE 356 SYNTAX INTEGER 357 ACCESS read-only 358 STATUS mandatory 359 DESCRIPTION 360 "An integer which give the pool id as displayed in the OID." 361 ::= { physicalDiskEntry 2 } 362 363physDiskId OBJECT-TYPE 364 SYNTAX INTEGER 365 ACCESS read-only 366 STATUS mandatory 367 DESCRIPTION 368 "An integer which give the physical disk id as displayed in the OID." 369 ::= { physicalDiskEntry 3 } 370 371physDiskWWN OBJECT-TYPE 372 SYNTAX OCTET STRING (SIZE(0..16)) 373 ACCESS read-only 374 STATUS mandatory 375 DESCRIPTION 376 "A string which gives the WWN of the physical disk." 377 ::= { physicalDiskEntry 4 } 378 379physDiskEnc OBJECT-TYPE 380 SYNTAX OCTET STRING (SIZE(0..16)) 381 ACCESS read-only 382 STATUS mandatory 383 DESCRIPTION 384 "A string which gives the physical disk enclosure number." 385 ::= { physicalDiskEntry 5 } 386 387physDiskSlot OBJECT-TYPE 388 SYNTAX INTEGER 389 ACCESS read-only 390 STATUS mandatory 391 DESCRIPTION 392 "An integer which give the physical disk position number." 393 ::= { physicalDiskEntry 6 } 394 395physDiskState OBJECT-TYPE 396 SYNTAX INTEGER { 397 normal (1), 398 failed (2), 399 predictedfailure (3), 400 unknown (4) 401 } 402 ACCESS read-only 403 STATUS mandatory 404 DESCRIPTION 405 "An integer which gives the state of a physical disk." 406 ::= { physicalDiskEntry 7 } 407 408-- other Information 409systemName OBJECT-TYPE 410 SYNTAX OCTET STRING (SIZE(0..31)) 411 ACCESS read-only 412 STATUS mandatory 413 DESCRIPTION 414 "The name that has been assigned to the system." 415 ::= { unit 30 } 416 417 418-- trap log indicators 419 420 421 -- ####################################################################### 422 -- 423 -- Event Group - to map the errLog 424 -- 425 -- NOTE 426 -- Logically, eventLogTable is separate from the error log since it is 427 -- essentially a view of the error log within a particular time window. 428 -- The syntax chosen for the log levels is matched with the syslog 429 -- severities from RFC3164 except noting that none is zero instead of 430 -- emergency being zero. 431 -- 432 -- ####################################################################### 433 434 eventLogTrapLevel OBJECT-TYPE 435 SYNTAX INTEGER { 436 none (0), 437 emergency (1), 438 alert (2), 439 critical (3), 440 error (4), 441 warning (5), 442 notice (6), 443 informational (7), 444 debug (8) 445 } 446 ACCESS read-only 447 STATUS mandatory 448 DESCRIPTION "This object specifies the eventLogTrap level in 449 conjunction with an event's severity level. When an event 450 occurs and if its severity level is at or below the value 451 specified by this object instance, the agent will send 452 the associated eventLogTrap to configured recipients." 453 ::= { eventLog 1 } 454 455 eventLogNumEntries OBJECT-TYPE 456 SYNTAX INTEGER (0..30) 457 ACCESS read-only 458 STATUS mandatory 459 DESCRIPTION "The number of entries in the Event Table." 460 ::= { eventLog 2 } 461 462 eventLogTable OBJECT-TYPE 463 SYNTAX SEQUENCE OF UnitEventEntry 464 ACCESS not-accessible 465 STATUS mandatory 466 DESCRIPTION "The table of event entries." 467 ::= { eventLog 3 } 468 469 eventLogEntry OBJECT-TYPE 470 SYNTAX UnitEventEntry 471 ACCESS not-accessible 472 STATUS mandatory 473 DESCRIPTION "An entry of the event table." 474 INDEX { eventLogIndex } 475 476 ::= { eventLogTable 1 } 477 478 UnitEventEntry ::= SEQUENCE { 479 eventLogIndex INTEGER, 480 eventLogLevel INTEGER, 481 eventLogDescr DisplayString 482 } 483 484 eventLogIndex OBJECT-TYPE 485 SYNTAX INTEGER (1..30) 486 ACCESS read-only 487 STATUS mandatory 488 DESCRIPTION "This object identifies the event entry." 489 ::= { eventLogEntry 1 } 490 491 eventLogLevel OBJECT-TYPE 492 SYNTAX INTEGER { 493 none (0), 494 emergency (1), 495 alert (2), 496 critical (3), 497 error (4), 498 warning (5), 499 notice (6), 500 informational (7), 501 debug (8) 502 } 503 ACCESS read-only 504 STATUS mandatory 505 DESCRIPTION "This object identifies the severity level of this 506 event entry." 507 ::= { eventLogEntry 2 } 508 509 eventLogDescr OBJECT-TYPE 510 SYNTAX DisplayString 511 ACCESS read-only 512 STATUS mandatory 513 DESCRIPTION "This object identifies the textual description of 514 the event." 515 ::= { eventLogEntry 3 } 516 517 -- 518 -- End of 6620 Event Group 519 -- 520 521 522END