check_mem reports warnings on idle nodes

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
gamechanger
Posts: 16
Joined: Fri Apr 27, 2012 11:21 am

check_mem reports warnings on idle nodes

Post by gamechanger »

Hey Guys,

Looks like there is an issue with the check_memory plugin or maybe I am reading it wrong.

For example, all of my ubuntu machines are alerting on warning however, my -w threshold is 20% and -c is 10. I even tried -w 85 and -c 90, thought its maybe reading incorrectly, but still same issues.


In this example:

WARNING - 9239 / 15380 MB (%) Free Memory, Used: 6141 MB, Shared: 0 MB, Buffers: 374 MB, Cached: 3594 MB

Based on this, we certainly have more than 20% free memory, so I am not sure what should be the correct threshold here.

This is on all ubuntu 10.04-11.10 clients.

Thanks in advance for your help.


Thanks,
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: check_mem reports warnings on idle nodes

Post by scottwilkerson »

It could be that you don't have dc on your ubuntu machine or it isn't in the expected location.

this plugin uses /usr/bin/dc

Type

Code: Select all

which dc
If it comes back with

Code: Select all

/usr/bin/dc
this isn't the problem, otherwise report the output and we can help you from there.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
gamechanger
Posts: 16
Joined: Fri Apr 27, 2012 11:21 am

Re: check_mem reports warnings on idle nodes

Post by gamechanger »

I think that did the trick..

Thanks so much, I am going to roll out DC to rest of my machines.
Locked