Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I checked on internet but I got more confused... I really appreciate if you could help me how to fix this, step by step.
I wonder what I have to do, but I dont know how (install nrpe, change command.cfg).
You need to just check the physical memory (not the entire memory pool). check_nt does not support this, though nsclient does through nrpe. It's a known issue. I would recommend using CheckMem with NRPE: http://www.nsclient.org/nscp/wiki/CheckSystem/checkMem
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
I got an error message:
Error: Service check command 'check_nrpe!CheckMEM!MaxWarn=60% MaxCrit=80% ShowAll type=physical' specified in service 'Memory Usage2' for host 'SRV1' not defined anywhere!
Replace <warn> and <crit> with your desired threshold values.
My suggestion would be to test the check from the cli first, in order to make sure that nsclient is configured correctly and that the check actually works from the nagios server:
/usr/local/nagios/libexec/check_nrpe -H <ip of windows server> -p 5666 -c CheckMEM -a MaxWarn=80% MaxCrit=90% ShowAll type=physical
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
[modules]
NRPEListener.dll
NSClientListener.dll
FileLogger.dll
CheckSystem.dll
CheckDisk.dll
CheckEventLog.dll
CheckHelpers.dll
;# NSCLIENT++ MODULES
;# A list with DLLs to load at startup.
; You will need to enable some of these for NSClient++ to work.
; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
; * *
; * N O T I C E ! ! ! - Y O U H A V E T O E D I T T H I S *
; * *
; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
;FileLogger.dll
;CheckSystem.dll
;CheckDisk.dll
;NSClientListener.dll
NRPEListener.dll
;SysTray.dll
;CheckEventLog.dll
;CheckHelpers.dll
;CheckWMI.dll
This is usually due to an argument configuration mismatch between the nagios server's check and the remote agents configuration. Could you post your entire nsclient config? You may need to enable arguments in the nsclient config:
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
This server NSClient version is NSClient++ 0.3.8.76 2010-05-27 and I will test with the others, that use version NSClient++ 0,4,1,73 2012-12-17 then I will post the result.