mickem / nscp

NSClient++
http://nsclient.org
GNU General Public License v2.0
240 stars 94 forks source link

check_nrpe & NSClient++ Help Need #715

Open amilamydoctor opened 3 years ago

amilamydoctor commented 3 years ago

Issue and Steps to Reproduce

Hi,

I'm new to this. I have installed and trying to config nsclient++ in my windows server 2019. I have used NRPE. So I need to change check_memory warning level to 90 and critical level to 95. Can someone please guide me to do this. from where I need to do it? Nagios server side or windows server side?

EnderXncdr commented 3 years ago

Honestly it can go either way. Within the nsclient.ini file you can create an alias with pre configured monitoring options OR change the config for memory to be check_nrpe!check_mem!.

I suggest to do some testing with syntax using the nscp executable. Simply go into the NSClient++ directory in command prompt and type in the comand nscp.exe test. From there you can run the same queries NRPE calls with arguments

You can also refer to this article here, which is the same help file within nscp.exe.

EnderXncdr commented 3 years ago

https://docs.nsclient.org/reference/windows/CheckSystem/#check_memory

mgsteiner-cmd commented 3 years ago

Hi,

I have implemented it in the following way:

lwêt me know if that worked for you.