Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 understand SNMP agent on a server collects information such as CPU, Memory, Network, IO stat ... information. How to I know what exactly information being collecting on a linux server by SNMP agent?

share|improve this question

closed as not a real question by ewwhite, Wesley, Tom O'Connor, Khaled, MDMarra May 13 '12 at 18:28

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Well if you don't have access to the application that is doing the query, then I'd start by performing a packet capture. Though some SNMP implementations support TLS, the vast majority just use plain latest UDP, so finding the OIDs queried should be fairly easy once you have a packet capture.

share|improve this answer

The various MIB files that come with Net-SNMP tell you what values might possibly be available. Using snmptranslate you can see a tree view of the different values under the ucdavid subtree (which contains the Net-SNMP specific values):

snmptranslate -m ALL -Tp -OS

To get a description of one individual entry (e.g. lmVoltSensorsValue), do:

snmptranslate -m ALL -Td -On -IR lmVoltSensorsValue

Note that probably not all fields are really available. Some might be platform-specific, others deprecated and some are only available if configured.

The above snmptranslate examples only work if the MIB files are installed and if all the paths are correctly set, but this is out of the scope of this question.

share|improve this answer

Read the source? Read the documentation. That's about all you can do.

share|improve this answer

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