[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Freeipmi-users] How to obtain the OID

From: Al Chu
Subject: RE: [Freeipmi-users] How to obtain the OID
Date: Mon, 10 Nov 2008 15:10:31 -0800

Hey Michael,

Ahhh, the OID for SNMP.  I have never setup snmp w/ IPMI, so I had to
look into it more.

According to the "Platform Event Trap Format Specification" (you can
find it towards the bottom of the page here:, the OID for all (??)
IPMI traps seems to be:


I'm not 100% knowledgeable on snmp, but seems to be the
pretty standard prefix to vendor OIDs.  Wired for management is another
specification related to IPMI, so that's where the 3183.1.1 probably
comes from.

In the document, it also states what the trap will look like and all the
data inside the packet.  It looks like there would have to be a lot of
parsing involved.  FreeIPMI currently does not have a snmp-trap parser
to deal with this, but I put it on my TODO for later (perhaps to work
with net-snmp or something).


P.S.  Unrelated, but as an FYI to you and others, as far as I can tell,
IPMI only supports SNMP traps, not gets/sets.  You can configure alert
destinations, community strings, etc. via pef-config(8).

On Mon, 2008-11-10 at 16:14 -0500, address@hidden wrote:
> Hi Al,
> Thanks for responding so fast!
> No, by OID I mean the Object Identifier that you can use on an snmpwalk
> command.  With snmpwalk I can get teperature information for fan 2 on
> motherboard AAAA, by specifyig the OID string.  It is a long string of
> numbers with periods between the numbers.
> Here is a snippet of stuff related to understanding SNMP and OIDs:
> The main purpose of an SNMP message is to control (set) or monitor (get)
> parameters on an SNMP agent. In SNMP, a parameter is an instance of a more
> generic object. For example, an SNMP agent may have several instances of a
> microphoneMute object -- one instance for each microphone input. An SNMP
> manager can set or get the value for each instance (each parameter). In an
> SNMP agent, parameters are arranged in a tree. SNMP uses an Object
> Identifier (OID) to specify the exact parameter to set or get in the tree.
> An OID is a list of numbers separated by periods. For example, the OID
> addressing the microphoneMute parameter in a Rane NM 1 is
> ''. This OID is actually a combination of two
> values. The first value is the OID of the generic object
> ''. The second is the instance value, which
> specifies the particular instance of the mirophoneMute object. The instance
> value in this case is 0, because the NM 1 has only one microphone input. But
> where do these OIDs come from?
> Every SNMP agent has an address book of all its objects, called the MIB or
> Management Information Base. The MIB provides the name, OID, data type,
> read/write permissions, and a brief description for each object in an SNMP
> agent. For an example, check out the Rane NM 1 MIB in its manual. Armed with
> information about an object from the MIB, and the instance value, an SNMP
> manager can send an SNMP message to set or get one of the parameters on an
> SNMP agent. However, there are two major difficulties that an SNMP message
> must overcome to be understood by any SNMP device.
> Respectfully Yours,
> Michael Vitale
> 8403 Tobin Rd.
> Annandale, VA 22003
> address@hidden
> 703-663-3770
> -----Original Message-----
> From: Al Chu [mailto:address@hidden 
> Sent: Monday, November 10, 2008 12:30 PM
> To: address@hidden
> Cc: address@hidden
> Subject: Re: [Freeipmi-users] How to obtain the OID
> Hey Michael,
> By OID I assume you mean owner id?  You can see more detailed
> information about each sensor by specify -v on the command line.  I list
> LUN + slave address instead of the owner id, so you would have to OR
> that information together to get the owner id.
> Hope that helps,
> Al
> On Mon, 2008-11-10 at 07:09 -0500, address@hidden wrote:
> > Is there some command I can run in the freeIPMI suite of tools that gives
> me
> > the OID numbers associated with records discovered by ipmi-sensors?
> >  
> > Respectfully Yours,
> > Michael Vitale
> > 
> >  <mailto:address@hidden>
> > address@hidden
> > 
> > 
> > _______________________________________________
> > Freeipmi-users mailing list
> > address@hidden
> > http://
> > 
Albert Chu
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory

reply via email to

[Prev in Thread] Current Thread [Next in Thread]