DCI - How to get dci value of memory usage ?

Started by vinhnt26, March 22, 2015, 07:33:16 PM

Previous topic - Next topic

vinhnt26

Hi all,
I can get dci value of memTotalReal with OID: .1.3.6.1.4.1.2021.4.5, memBuffer .1.3.6.1.4.1.2021.4.14 and memCached.
But i can get mem usage, i can not see OID for mem usage.
Can i get value mem usage with Transcript in DCI ? and How to ?

Thanks !

tomaskir

There is no OID for memory usage percentage.
Using SNMP, calculating memory usage is always:

MemUsedPercentage = ((MemTotal / MemUsed) * 100)

There are multiple way to achieve this in NetXMS.
Easies is probably:

1) Create DCI for MemTotal.
2) Create DCI for MemUsed.
3) Create DCI for MemUsedPercentage (dummy type)
Use a transform script that does the calculation above.
Take the values from the DCIs you created above.

You have to do it like this in every other NMS, this is not a NetXMS defect.

vinhnt26