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

I am trying to use snmpwalk to get the MIB list and I couldn't get anything related to CPU, Load, Memory.

On further digging in I found that the UCD-SNMP-MIBs are the one which will return the information I require. But, I couldn't find anything on the snmpwalk output.

How to enable this in snmp configuration ? or any additional modules has to be configured ?

I am running smpwalk on CentOS box and my target host is a linux xen server. I have installed net-snmp, net-snmp-utils on my CentOS server.

share|improve this question
Have you verified your SNMPD is running? – RobW Jan 24 '12 at 17:42
up vote 0 down vote accepted

When you snmpwalk a device using the net-snmp snmpwalk tool, it will not by default return anything in the enterprise MIBs, such as UCD-SNMP.

Enterprise MIBs are all the OIDs that start with .

You can work around this by specifying where on the OID tree to start walking, instead of returning the default parts of the tree

  snmpwalk -v2c -cpublic .

would walk the tree starting with 'enterprises.', which would return the UCD-SNMP-MIB with all that good information that you want.

You can also do

  snmpwalk -v2c -cpublic .1

which says "start at .1" which is the top of the OID tree, and will return everything.

Now, many of the OIDs won't be translated into names. You have to ask snmpwalk to turn OIDs into names by parsing all of the non-default MIBs, you do that by adding '-mALL' to the command line

  snmpwalk -v2c -cpublic -mALL .1

will return everything, with OIDs turned to names (where you have a copy of the MIB file in one of the default MIB directories).


share|improve this answer

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.