Check_Memory in amount free
Posted: Sat Apr 11, 2020 12:08 pm
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
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