Winodws MEMUSE service check physical memory

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

Winodws MEMUSE service check physical memory

Post by michaelli »

Hi support,

One of our server has 4G physical memory installed but when it was monitor by MEMUSE service check. It display the memory usage total is 8G RAM. Does it include the virtual memory?

[root@ngonap01 libexec]# ./check_nt -H 172.31.8.169 -v MEMUSE -w 80 -c 90 -p 12489
Memory usage: total:8169.73 MB - used: 2135.23 MB (26%) - free: 6034.50 MB (74%) | 'Memory usage'=2135.23MB;6535.78;7352.75;0.00;8169.73

If Yes, how can we exclude the virtual memory or it is better to display physical memory and virtual memory separately.
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Winodws MEMUSE service check physical memory

Post by Box293 »

You can use check_nrpe to only check the physical memory using "type=physical". Here are some examples:

USED
Specific Amount
Check the physical memory usage. Warning alert at 1536M used and critical alert at 1792M used.

Code: Select all

Command:
check_nrpe -H 192.168.142.137 -t 30 -c CheckMEM -a ShowAll type=physical MaxWarn=1536M MaxCrit=1792M

Output:
OK: physical memory: 813M|'physical memory %'=39%;24;12 'physical memory'=812.82M;1536;1792;0;2047.49
Percentage
Check the physical memory usage. Warning alert at 80% usage and critical alert at 90% usage.

Code: Select all

Command:
check_nrpe -H 192.168.142.137 -t 30 -c CheckMEM -a ShowAll type=physical MaxWarn=80% MaxCrit=90%

Output:
OK: physical memory: 800M|'physical memory %'=39%;80;90 'physical memory'=799.68M;1637.99;1842.74;0;2047.49

FREE
Specific Amount
Check the amount of free physical memory. Warning alert at 512M free and critical alert at 256M free.

Code: Select all

Command:
check_nrpe -H 192.168.142.137 -t 30 -c CheckMEM -a ShowAll type=physical MinWarn=512M MinCrit=256M

Output:
OK: physical memory: 778M|'physical memory %'=62%;74;87 'physical memory'=778.08M;512;256;0;2047.49
Percentage
Check the amount of free physical memory. Warning alert at 20% free and critical alert at 10% free.

Code: Select all

Command:
check_nrpe -H 192.168.142.137 -t 30 -c CheckMEM -a ShowAll type=physical MinWarn=20% MinCrit=10%

Output:
OK: physical memory: 802M|'physical memory %'=61%;20;10 'physical memory'=802.16MB;409.5;204.75;0;2047.49
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
michaelli
Posts: 115
Joined: Thu Jan 29, 2015 11:21 am

Re: Winodws MEMUSE service check physical memory

Post by michaelli »

Great. Thanks for Box293 helping
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Winodws MEMUSE service check physical memory

Post by tmcdonald »

Are we all set to close this thread?
Former Nagios employee
Locked