THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
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/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

1 (2)
Article Rating (2 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
Nagios XI - Troubleshooting Reports
Viewed 9395 times since Wed, Dec 5, 2018
Nagios XI - Profile Build Failed
Viewed 15697 times since Tue, Aug 2, 2016
Nagios XI - MSSQL Wizards - Adaptive Server connection failed
Viewed 13727 times since Thu, Aug 3, 2017
VMWare checks timing out or slow
Viewed 5269 times since Fri, Feb 11, 2022
Nagios XI - Using Scripts / Plugins With NSClient++
Viewed 35543 times since Wed, Jul 27, 2016
Nagios XI - SQL Error [nagiosxi] : ERROR: syntax error
Viewed 9998 times since Sun, Sep 10, 2017
API changes in Nagios XI 5.7
Viewed 5388 times since Tue, Feb 23, 2021
Nagios XI - Last Check Time Not Updating
Viewed 26859 times since Tue, Jan 6, 2015
Nagios XI - Integrating autoIT With Nagios
Viewed 6932 times since Wed, Jan 27, 2016
NRPE - Agent and Plugin Explained
Viewed 77668 times since Fri, Jul 14, 2017