Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

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: 38 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
05:24, 28 Nov 2016

Tags

Classifications

Public