New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


Memory used instead of memory available

Votes:

0

Your Vote:

Up

Down

CPU Load shows CPU used - high is bad. Memory shows Memory available - high is good.

Is there a way to create a sensor or channel for Memory used (high is bad)?

Thanks in advance - JD

channel memory sensor

Created on Feb 5, 2014 2:09:36 PM by  JD (50) 1 1



Best Answer

Accepted Answer

Votes:

0

Your Vote:

Up

Down

I think I have a method for getting percentage used by creating a Sensor Factory sensor.

I've created a custom sensor that uses the percentage available memory channel from the physical memory sensor.

Channel Definition: #1:Percentage Used Memory 100 - Channel(3901,0)

Where 3901 is the ID of the physical memory sensor and 0 is the ID of the percentage available memory channel.

Created on Feb 6, 2014 4:22:34 PM by  JD (50) 1 1



6 Replies

Votes:

0

Your Vote:

Up

Down

There aren't any memory sensors that are able to do this natively in PRTG but it would be possible to do this with a custom SNMP or WMI sensor possibly. What type of server are you looking to monitor?

Created on Feb 5, 2014 9:06:55 PM by  Greg Campion [Paessler Support]



Votes:

0

Your Vote:

Up

Down

Windows servers - 2008 R2 mostly.

Created on Feb 5, 2014 9:49:30 PM by  JD (50) 1 1



Accepted Answer

Votes:

0

Your Vote:

Up

Down

I think I have a method for getting percentage used by creating a Sensor Factory sensor.

I've created a custom sensor that uses the percentage available memory channel from the physical memory sensor.

Channel Definition: #1:Percentage Used Memory 100 - Channel(3901,0)

Where 3901 is the ID of the physical memory sensor and 0 is the ID of the percentage available memory channel.

Created on Feb 6, 2014 4:22:34 PM by  JD (50) 1 1



Votes:

0

Your Vote:

Up

Down

You should be able to see the available memory with this script in Powershell:

#For this sensor you will need to put in the server name or IP into the parameters to fill in the $args[0]

$computer= $args[0]
$availmem = Get-wmiObject -class Win32_PerfFormattedData_PerfOS_Memory -computername $computer -namespace root\CIMV2 | select-object -expand AvailableKBytes
$availmem = ($availmem * 1024)
$totalmem = Get-wmiObject -class Win32_PhysicalMemory -computername $computer -namespace root\CIMV2 | select-object -expand Capacity
$usedmem = ($totalmem | Measure-Object -SUM).Sum
$usedmem = (($usedmem-$availmem)/ 1073741824) -as [single]
#write-host = $usedmem ":" $usedmem "GB Used"
write-host ("{0}:{0} GB Used" -f $usedmem)

Created on Feb 6, 2014 4:45:48 PM by  Greg Campion [Paessler Support]



Votes:

0

Your Vote:

Up

Down

HI,

I have done as per above to get the memory utilization, but my max utilization shows a value of 863998100%. I can't find any settings to make that 100%. Any ideas ? Thanks

https://imgur.com/a/fTouo6U

Created on Aug 20, 2018 3:21:07 AM by  stheologo (0) 1



Votes:

0

Your Vote:

Up

Down

Hi there,

Please enable the spike filter in the channel settings of the "Memory Utilization" as described here:
https://blog.paessler.com/how-to-filter-spikes-from-graphs-in-prtg

Best regards.

Created on Aug 20, 2018 7:06:53 AM by  Dariusz Gorka [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.