Submit a ticketCall us

Training ClassSign up for Network Performance Monitor (NPM) and Scalability instructor-led classes

Attend our instructor-led classes, provided by SolarWinds® Academy, to discuss the more advanced monitoring mechanisms available in NPM as well as how to tune your equipment to optimize its polling capabilities. NPM classes offered:
NPM Custom Monitoring and Polling
Orion Platform Scalability

Reserve your seat.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > 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: 2,156 Votes: 3 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