Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Network Performance Monitor (NPM) > NET-SNMP memory calculation

NET-SNMP memory calculation

Table of contents
Created by Tiarnan Stacke, last modified by Mariusz Handke on Nov 28, 2016

Views: 105 Votes: 2 Revisions: 6

Overview

The following outlines how Orion calculates the Memory Utilization of Net-SNMP devices.

Environment

All versions of NPM

Detail

For Net-SNMP the following OIDs will be used:

Total RAM in machine: 1.3.6.1.4.1.2021.4.5
Total RAM available: 1.3.6.1.4.1.2021.4.6
Total RAM Buffered: 1.3.6.1.4.1.2021.4.14
Total Cached Memory: 1.3.6.1.4.1.2021.4.15


The way that we work out the percentage is as follows:

Total RAM in machine - Total RAM Available = Total RAM Used
(12198828 - 459380 = 11739448)

 

Total RAM Used - Cached Memory - RAM Buffered = Used Memory
(11739448 - 6583736 - 60 = 5155652)

 

The values we put into the Database will be:

Total RAM in machine & Used Memory but we first multiply the value by 1024
12198828 *  1024  = 12491599872 (Total RAM)
5155652 *  1024  = 5279387648   (Used Memory)

 

To get the percentage:
(Used Memory / Total RAM) * 100
(5279387648 / 12491599872) * 100 = 42.26%

 

Thwack articles addressing this issue:

https://thwack.solarwinds.com/thread/71405

https://thwack.solarwinds.com/ideas/1030

https://thwack.solarwinds.com/message/163815

 

 

Last modified

Tags

Classifications

Public