Nsclient++ Check_Mem
Nsclient++ Check_Mem
command check_nt!MEMUSE! duplicates information
ex:
I have 12 G RAM and display 24
ex:
I have 12 G RAM and display 24
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Nsclient++ Check_Mem
Can you show us the output of the check command? Also, on the windows system please show the output of running the following from it's CLI:
Code: Select all
wmic OS get TotalVisibleMemorySize /ValueRe: Nsclient++ Check_Mem
Memory usage: total:32541,24 Mb - used: 20599,93 Mb (63%) - free: 11941,31 Mb (37%)
TotalVisibleMemorySize=16661904
I have windows Server 64Bits
TotalVisibleMemorySize=16661904
I have windows Server 64Bits
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Nsclient++ Check_Mem
By default, I believe nsclient also includes the pagefile. Could you provide the service and command definitions?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: Nsclient++ Check_Mem
command check_nt!MEMUSE! G -w 80 -c 90
Re: Nsclient++ Check_Mem
As stated the command check_nt counts page file and other bits as total memory.
use check_nrpe with NSClient++ and use the "physical" parameter
eg:
This will get you the info you are requiring for just actual phyical memory
use check_nrpe with NSClient++ and use the "physical" parameter
eg:
Code: Select all
check_nrpe -H ip -p 5666 -c checkMEM -a MaxWarn=x% MaxCrit=x% type=physicalRe: Nsclient++ Check_Mem
nagios display this error: CHECK_NRPE: Received 0 bytes from daemon.
Re: Nsclient++ Check_Mem
Please check your nsclient.ini file on the server you are monitoring for the following; which you will find in the "NRPE setting for Protocol options" section
and set it to
Code: Select all
; COMMAND ARGUMENT PROCESSING - This option determines whether or not the we will allow clients to specify arguments to commands that are executed.
Code: Select all
allow arguments = trueRe: Nsclient++ Check_Mem
I make modifications and navio display error Exception processing request: Request contained arguments (not currently allowed, check the allow arguments option).