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
RAM memory monitoring information is not real
RAM memory monitoring information is not real
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
You have 12006 cached which is subtracted out because that will be free'd on demand
Free = Total - Used - Cached
Free = Total - Used - Cached
Re: RAM memory monitoring information is not real
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?
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
NCPA uses psutils to calculate the memory, here are the docs
https://psutil.readthedocs.io/en/latest/#memory
http://exchange.nagios.org/
https://psutil.readthedocs.io/en/latest/#memory
Not with NCPA, but There are other memory plugins available on the Nagios exchangeparboleda wrote:Is there a way for Nagios to ignore the cache value?
http://exchange.nagios.org/
Re: RAM memory monitoring information is not real
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
Re: RAM memory monitoring information is not real
I think you could probably use this:
Code: Select all
https://support.nagios.com/kb/article.php?id=171Re: RAM memory monitoring information is not real
Thanks for the information
Re: RAM memory monitoring information is not real
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!
Be sure to check out our Knowledgebase for helpful articles and solutions!