I have a centos server and I am trying to monitor memory but didnot got the actual result. I have used Snmpwalk and used the oid of the used memory but it is returning me the value that is not matched to any parameter. The server is hosted inside esxi. I have used the command:

snmpwalk -v2c -c test@123 . 

this command should provide me used memory but i am getting the value of something else. The result I got is:

UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 5315584 kB

            total        used        free      shared  buff/cache   available
Mem:          7.6Gi       1.5Gi       5.1Gi       113Mi       1.0Gi       5.7Gi
Swap:         5.0Gi          0B       5.0Gi

In the output the used is 1.5Gi but the output of snmpwalk is around 5.3Gi.

Is there any way i can get the oid of the free, used and available memory. Or is there any way we can list UCD-SNMP-MIB::memAvailReal.0 and its corresponding oid.


1 Answer 1


Can you try to snmpwalk the entire tree ?

You will get a clear overview of the possible snmp return. Check this link to have the description of the tree.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .