Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Trying to get cacti drawing graphs on our netapp, I downloaded NETWORK-APPLIANCE-MIB.mib from and copied it into /usr/share/mibs/netsnmp/.

Stracing snmpwalk it looks like the file is successfully being read, but I'm still seeing OIDs and not names in my output.

$ snmpwalk -v 1 -c $community_string udp:$host_ip:161  .
SNMPv2-SMI::enterprises.789. = STRING: "aggr0"
SNMPv2-SMI::enterprises.789. = STRING: "aggr0/.snapshot"

Any hints as to else what I need to do to match the MIB file up with the snmp stuff?

share|improve this question
up vote 1 down vote accepted

After you add it to the MIB path, you need to load it:

Secondly, tell the tools to load this MIB:

    snmpwalk -m +MY-MIB .....
        (load it for this command only)
export MIBS=+MY-MIB
        (load it for this session only)
    echo "mibs +MY-MIB" >> $HOME/.snmp/snmp.conf
        (load it every time)
share|improve this answer
Aha, that's helpful, thanks! So after seeing it work successfully with your instructions, since my goal is to make the mibs available to cacti, I added this line mibs +/usr/share/mibs/netsnmp/NETWORK-APPLIANCE-MIB.mib to /etc/snmp/snmp.conf Now snmpwalk is showing the names instead of numbers. Cacti still isn't creating the graphs, but I guess that's a question for a different thread :-/ – Kevin G. Sep 19 '12 at 20:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.