Here's a question. How do I find out the OIDs from a mib file?
Code: Select all
-- SUPERMICRO-SMI.mib: Super Micro Enterprise Structure of Management Information
--
-- October 26 2001, Software LAB
--
-- Copyright (c) 1993-2001 by Super Micro Computer Inc.
-- All rights reserved.
--
-- *****************************************************************
SUPERMICRO-HEALTH-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
Integer32,
Gauge32
FROM SNMPv2-SMI
TEXTUAL-CONVENTION,
DisplayString,
TruthValue
FROM SNMPv2-TC
MODULE-COMPLIANCE,
OBJECT-GROUP
FROM SNMPv2-CONF
smHealth
FROM SUPERMICRO-SMI;
smHealthMIB MODULE-IDENTITY
LAST-UPDATED "200110260000Z"
ORGANIZATION "Super Micro Computer Inc."
CONTACT-INFO
" Software Lab
Postal: 980 Rock Avenue
San Jose, CA 95131
USA
Tel: +1 408 503 8000
E-mail: [email protected]"
DESCRIPTION
"MIB module for monitoring health information"
::= { smHealth 1 }
SMHealthInfoTypes ::= TEXTUAL-CONVENTION
STATUS current
DESCRIPTION
"Represents the different types of health information that
may be present in a managed device. The following health
information types are currently predefined:
0: fan speed
1: voltage
2: temperature
"
SYNTAX Integer32 (0..64)
smHealthObjects OBJECT IDENTIFIER ::= { smHealthMIB 1 }
smHealthMonitorTable OBJECT-TYPE
SYNTAX SEQUENCE OF SMHealthMonitorEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of health monitoring entries."
::= { smHealthObjects 1 }
-- ================
smHealthMonitorEntry OBJECT-TYPE
SYNTAX SMHealthMonitorEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"An entry in the health monitoring table.
Entries cannot be created or deleted via SNMP operations."
INDEX { smHealthMonitorIndex }
::= { smHealthMonitorTable 1 }
SMHealthMonitorEntry ::=
SEQUENCE {
smHealthMonitorIndex Integer32,
smHealthMonitorName DisplayString,
smHealthMonitorType SMHealthInfoTypes,
smHealthMonitorReading Integer32,
smHealthMonitorHighLimit Integer32,
smHealthMonitorLowLimit Integer32,
smHealthMonitorMaxReading Integer32,
smHealthMonitorMinReading Integer32,
smHealthMonitorDivisor Integer32,
smHealthMonitorMonitor TruthValue
}
smHealthMonitorIndex OBJECT-TYPE
SYNTAX Integer32 (1..65535)
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The unique value which identifies this Monitor device."
::= { smHealthMonitorEntry 1 }
smHealthMonitorName OBJECT-TYPE
SYNTAX DisplayString
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A textual full name assigned to the Monitor device.
This object is suitable for output to a human operator."
::= { smHealthMonitorEntry 2 }
smHealthMonitorType OBJECT-TYPE
SYNTAX SMHealthInfoTypes
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"A textual full name assigned to the Monitor device.
This object is suitable for output to a human operator."
::= { smHealthMonitorEntry 2 }
smHealthMonitorType OBJECT-TYPE
SYNTAX SMHealthInfoTypes
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Identifies this Monitor device type."
::= { smHealthMonitorEntry 3 }
smHealthMonitorReading OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"Indicates the value from the Monitor device that are
currently in use on the managed device.
FAN reading is in unit of RPM,
Voltage reading is in unit of mV,
Temperture reading is in unit of degree C"
::= { smHealthMonitorEntry 4 }
smHealthMonitorHighLimit OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the value for the High limitation
for the Monitor device that are currently in use on the
managed device.
Apply to Temperature and Voltage deivces only.
Voltage limit is in unit of mV,
Temperture limit is in unit of degree C"
::= { smHealthMonitorEntry 5 }
smHealthMonitorLowLimit OBJECT-TYPE
SYNTAX Integer32 (0..65535)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Indicates the value for the Low limitation
for the Monitor device that are currently in use on the
managed device.
FAN limit is in unit of RPM,
Voltage limit is in unit of mV,
Temperture limit is in unit of degree C"
::= { smHealthMonitorEntry 6 }
And I been provided with:
SUPERMICRO-HEALTH-MIB SMHealthInfoTypes
SUPERMICRO-HEALTH-MIB smHealthMIB 1.3.6.1.4.1.10876.2.1
SUPERMICRO-HEALTH-MIB smHealthObjects 1.3.6.1.4.1.10876.2.1.1
SUPERMICRO-HEALTH-MIB smHealthMonitorTable 1.3.6.1.4.1.10876.2.1.1.1
SUPERMICRO-HEALTH-MIB smHealthMonitorEntry 1.3.6.1.4.1.10876.2.1.1.1.1
SUPERMICRO-HEALTH-MIB smHealthMonitorIndex 1.3.6.1.4.1.10876.2.1.1.1.1.1
SUPERMICRO-HEALTH-MIB smHealthMonitorName 1.3.6.1.4.1.10876.2.1.1.1.1.2
SUPERMICRO-HEALTH-MIB smHealthMonitorType 1.3.6.1.4.1.10876.2.1.1.1.1.3
SUPERMICRO-HEALTH-MIB smHealthMonitorReading 1.3.6.1.4.1.10876.2.1.1.1.1.4
SUPERMICRO-HEALTH-MIB smHealthMonitorHighLimit 1.3.6.1.4.1.10876.2.1.1.1.1.5
SUPERMICRO-HEALTH-MIB smHealthMonitorLowLimit 1.3.6.1.4.1.10876.2.1.1.1.1.6
SUPERMICRO-HEALTH-MIB smHealthMonitorMaxReading 1.3.6.1.4.1.10876.2.1.1.1.1.7
SUPERMICRO-HEALTH-MIB smHealthMonitorMinReading 1.3.6.1.4.1.10876.2.1.1.1.1.8
SUPERMICRO-HEALTH-MIB smHealthMonitorDivisor 1.3.6.1.4.1.10876.2.1.1.1.1.9
SUPERMICRO-HEALTH-MIB smHealthMonitorMonitor 1.3.6.1.4.1.10876.2.1.1.1.1.10
SUPERMICRO-HEALTH-MIB smHealthNotifications 1.3.6.1.4.1.10876.2.1.2
SUPERMICRO-HEALTH-MIB smHealthConformance 1.3.6.1.4.1.10876.2.1.3
SUPERMICRO-HEALTH-MIB smHealthCompliances 1.3.6.1.4.1.10876.2.1.3.1
SUPERMICRO-HEALTH-MIB smHealthCompliance 1.3.6.1.4.1.10876.2.1.3.1.1
SUPERMICRO-HEALTH-MIB smHealthGroups 1.3.6.1.4.1.10876.2.1.3.2
SUPERMICRO-HEALTH-MIB smHealthMonitorGroup 1.3.6.1.4.1.10876.2.1.3.2.1