RAM memory monitoring information is not real

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
parboleda
Posts: 4
Joined: Fri Dec 28, 2018 9:13 am

RAM memory monitoring information is not real

Post by parboleda »

Hello everyone I use Nagios XI to monitor a centos server, the monitoring was configured with "ncpa", in RAM does not show the real value of the used memory, shows that the total of ram is 16 Gb that is correct, the The value of the available memory is also correct, but in the used memory it shows only 1.68 Gb, when in fact it is using almost 16 Gb, and it is not generating alerts to me because it is consuming all the memory, how can I make it show the information Real and send alerts?

Attached Image
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: RAM memory monitoring information is not real

Post by scottwilkerson »

You have 12006 cached which is subtracted out because that will be free'd on demand

Free = Total - Used - Cached
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
parboleda
Posts: 4
Joined: Fri Dec 28, 2018 9:13 am

Re: RAM memory monitoring information is not real

Post by parboleda »

Good morning, thanks for the answer, it is not very clear to me, if rest those values ​​gives a negative value

Free = 16000 - 15600 - 12006
free = -11606

Is there a way for Nagios to ignore the cache value?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: RAM memory monitoring information is not real

Post by scottwilkerson »

NCPA uses psutils to calculate the memory, here are the docs
https://psutil.readthedocs.io/en/latest/#memory
parboleda wrote:Is there a way for Nagios to ignore the cache value?
Not with NCPA, but There are other memory plugins available on the Nagios exchange
http://exchange.nagios.org/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
parboleda
Posts: 4
Joined: Fri Dec 28, 2018 9:13 am

Re: RAM memory monitoring information is not real

Post by parboleda »

Good afternoon, thanks for the information, there is some other recommended method different to NCPA to monitor the memory that throws the values ​​that I need and that is not very complex to configure
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: RAM memory monitoring information is not real

Post by ssax »

I think you could probably use this:

Code: Select all

https://support.nagios.com/kb/article.php?id=171
parboleda
Posts: 4
Joined: Fri Dec 28, 2018 9:13 am

Re: RAM memory monitoring information is not real

Post by parboleda »

Thanks for the information
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: RAM memory monitoring information is not real

Post by mbellerue »

Do you have any other questions, or can I close this thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked