I am monitoring a couple Windows MSSQL servers and by design I want them to use all but 8 GB of memory. The total amout of memory in these servers is 1TB so 8 GB is a very small percentage so warning on % free doesn't work for me.
I have tried
check_nrpe -H 10.1.2.41 -p 5666 -c check_memory -a MaxWarn<4G MaxCrit<2G type=physical
and
check_nrpe -H 10.1.2.41 -p 5666 -c check_memory -a MaxWarn=free<4G MaxCrit=free<2G type=physical
None of which work. Is there another way for nagios to report back on size available and not percentage?
Thanks,
Chris
Check_Memory in amount free
Re: Check_Memory in amount free
Examples can be found at https://support.nagios.com/kb/article/m ... s-774.html and https://docs.nsclient.org/reference/win ... eck_memory. Try changing your command to look like:
Code: Select all
./check_nrpe -H 10.1.2.41 -p 5666 -c check_memory -a 'warn=free<4G' 'crit=free<2G'As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.