Page 1 of 1
Memory plugin issue on Windows server
Posted: Fri Nov 04, 2016 8:59 am
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
Re: Memory plugin issue on Windows server
Posted: Fri Nov 04, 2016 9:53 am
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.
Re: Memory plugin issue on Windows server
Posted: Mon Nov 07, 2016 3:54 am
by jyoti22
Please find attached screenshot of total server memory and service definition.
Re: Memory plugin issue on Windows server
Posted: Mon Nov 07, 2016 3:00 pm
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.
Re: Memory plugin issue on Windows server
Posted: Tue Nov 08, 2016 12:38 am
by jyoti22
The link is of no use...Solution not given there
Re: Memory plugin issue on Windows server
Posted: Tue Nov 08, 2016 9:51 am
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