Thursday, July 15, 2010

Getting net-snmp to use Liebert MIBs...any MIBs for that matter.

After far too much screwing around trying to get this work, I finally figured out how to get snmpwalk to display the text names of OIDs for our Liebert MPH rack PDUs. I downloaded the Liebert Global Products MIB from the Liebert website and placed them in ~/.snmp/mibs/. The Readme file in the downloaded archive says that MIBs need to be loaded in a specific order, which did nothing more me than to waste a lot of time. In order to use the extracted MIBs while walking the Emerson (Liebert) tree, use the -mall argument with snmpwalk.

snmpwalk -v 2c -c public -mall -OS 10.20.30.40 1.3.6.1.4.1.476

4 comments:

  1. YOU ROCK!!!! Thank you so much!!!

    ReplyDelete
  2. Note 1: By default, new Liebert PDUs require a community called "LiebertEM" instead of "public".
    Note 2: The numerical OID 1.3.6.1.4.1.476 corresponds to the text "LIEBERT-GP-REGISTRATION-MIB::emerson". I use the command:
    snmpwalk -v 2c -c LiebertEM -mall 10.20.30.40 LIEBERT-GP-REGISTRATION-MIB::emerson

    ReplyDelete
  3. Any of you guys monitoring your MPHs with cacti? I'm looking for templates...

    ReplyDelete
    Replies
    1. We're pulling a ton of data into Cacti; temps, humidity (sensor isn't great), current, potential, power. Here is our template for Current. If it works, I can publish more. http://pastebin.com/KQThBaUP

      Delete