Home » Categories » Multiple Categories

Nagios XI - Windows Memory Usage - Physical

Problem Description

After running the Windows Server wizard you notice that the Windows memory usage checks have values that do not match up with the physical memory in the server.

 

Explanation

The checks created by the wizard use the check_nt plugin with the MEMUSE command.

Windows refers to the sum of memory and swap files, that is, the entire available virtual memory. Windows regularly swaps program and data code from the main memory, even when it still has spare reserves. The values returned aren't necessarily a bug in Nagios XI or NSClient++, but rather a view of the virtual memory of the machine.

In this respect the load of the entire virtual memory in Windows is the more important parameter to observe over simply physical or swap.

However if you want to monitor the physical memory in the server you will need to change the command to use the check_nrpe plugin along with enabling the NRPE module in NSClient++.

 

Creating Physical Memory Check

First, please refer to these guides in enabling the NRPE Listener module in NSClient++:

Nagios KB - Configuring NSClient++

 

Next, you will create / edit the service in Core Configuration Manager (CCM) to use the check_nrpe command along with the CheckMEM arguments. Please refer to the following screenshot:

 

 

In the screenshot above, the $ARG2$ field is populated with:

-a ShowAll type=physical MaxWarn=80% MaxCrit=90%

 

Once created, save and then Apply Configuration.

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
NRPE - Agent and Plugin Explained
Viewed 28005 times since Fri, Jul 14, 2017
Nagios XI - Adding Windows Disk Usage Checks In XI
Viewed 3066 times since Thu, Jan 14, 2016
Nagios XI - Issues with mod_gearman and Performance Data Newlines: "\n"
Viewed 1558 times since Tue, Feb 2, 2016
Nagios XI - Crashed Database Tables
Viewed 28044 times since Tue, Jan 27, 2015
Nagios XI - Error while converting SVG
Viewed 1531 times since Thu, Aug 3, 2017
Nagios XI - How To Test Check Commands From The Command-line
Viewed 18373 times since Tue, Jan 26, 2016
Nagios XI - ERROR: PostgresQL not running - exiting
Viewed 1901 times since Tue, Jan 26, 2016
Nagios XI - Using NSClient++ For Passive Checks
Viewed 1603 times since Thu, Jan 14, 2016
NRPE - v3 Enhanced Security
Viewed 68427 times since Thu, Jun 30, 2016
Nagios XI - Unable to Delete Host
Viewed 7155 times since Tue, Dec 16, 2014