Memory plugin issue on Windows server

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Memory plugin issue on Windows server

Post by jyoti22 »

Hi Team,
On 1 of windows box, used memory is showing 74% it means free memory is 26%. Still on Nagios XI, parameter is in critical alert.
Please find attached screenshot from server and XI output. Kindly help me to resolve it.

Regards,
Jyoti
You do not have the required permissions to view the files attached to this post.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Memory plugin issue on Windows server

Post by rkennedy »

How much memory total does the machine have? Depending on how your check is running, it may be including swap which would throw your numbers off a bit.

Can you show us the service definition for the memory check?

One thing to note as well, XI checks every x minutes based on your check_interval, it could be possible that it went down after Nagios had checked it.
Former Nagios Employee
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Memory plugin issue on Windows server

Post by jyoti22 »

Please find attached screenshot of total server memory and service definition.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Memory plugin issue on Windows server

Post by tgriep »

I found this in nsclient++ forum.
"check_nt does not check physical RAM it checks committed bytes"
From this link
http://forums.nsclient.org/t/check-nt-memuse/3476
To get what you want, you will have to use the check_nrpe command using the check_memory option to get the physical memory usage.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jyoti22
Posts: 254
Joined: Mon Mar 23, 2015 4:50 am

Re: Memory plugin issue on Windows server

Post by jyoti22 »

The link is of no use...Solution not given there
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Memory plugin issue on Windows server

Post by tgriep »

Instead of using the check_nt command, you would have to use the check_nrpe plugin and the CheckMEM command to get the physical memory using the example below.

Code: Select all

command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckMEM -a 'type=physical' MaxWarn=80% MaxCrit=90%
If you need help configuring the NRPE side of the NSCLient++ agent, take a look at this document for help.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked