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?
closed as not a real question by ewwhite, WesleyDavid, 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, see the FAQ.
|
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. |
|||
|
|
|
The various MIB files that come with Net-SNMP tell you what values might possibly be available. Using
To get a description of one individual entry (e.g. lmVoltSensorsValue), do:
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. |
|||
|
|