Page 1 of 1

Nagios picking wrong data for Memory

Posted: Fri Sep 17, 2021 1:36 am
by vignesha
Hi Team,

We have one windows server under monitoring. Its having installed memory of 10GB, but when nagios is monitoring this server it shows only 50GB of Total memory.
Memory usage: total:56101.32 MB - used: 53922.61 MB (96%) - free: 2178.71 MB (4%)
Have attached the configuration behind this memory check. Please help in finding why nagios is gathering wrong data here... and do the needful
Thanks in Advance!!!!

Re: Nagios picking wrong data for Memory

Posted: Fri Sep 17, 2021 12:24 pm
by gsmith
Hi

I set up the NSClient++ on a Windows machine with 4 GB of memory and I get twice that:

Code: Select all

[nagios@gs-cent8-23-82 ~]$ /usr/local/nagios/libexec/check_nt -H 192.168.23.87 -s "greg123" -p 12489 -v MEMUSE -w 80 -c 90
Memory usage: total:8189.38 MB - used: 2448.61 MB (30%) - free: 5740.77 MB (70%) | 'Memory usage'=2448.61MB;6551.50;7370.44;0.00;8189.38
We don't provide the NSClient++ so we are limited as to what we can do.

Do you have any objections to using NCPA? That is the preferred method for monitoring Windows machines.

Let me know what you think.

Thanks