LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   How to find OID for a parameter in Linux (https://www.linuxquestions.org/questions/linux-enterprise-47/how-to-find-oid-for-a-parameter-in-linux-4175493084/)

rohitchauhan 01-30-2014 01:35 AM

How to find OID for a parameter in Linux
 
Hi everyone,

I have a requirement. I want to monitor some memory and CPU related parameters by our custom monitoring tool. I also know that for that, I will be needing OIDs numbers for the parameters.

Now, how can I get the whole information about the OID etc of any parameter ?
Is there a package or command in the system which can give me that information or a link where I can find the memory, CPU, hard disk etc related OIDs in a systematic manner ?

Also please tell me how can I use MIB in this context. Is there a list of MIBs from which I can get help ?

Thanks in advance.

myatthu 01-30-2014 03:20 AM

You may try with netsnmp commands for linux environment. Especially, snmptranslate for mibs tree.

Code:

snmptranslate -Tp -IR system
Ref: http://www.net-snmp.org/docs/man/snmptranslate.html


All times are GMT -5. The time now is 03:38 PM.