Page 1 of 1

check_mem reports warnings on idle nodes

Posted: Mon Apr 30, 2012 12:19 pm
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,

Re: check_mem reports warnings on idle nodes

Posted: Mon Apr 30, 2012 12:40 pm
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.

Re: check_mem reports warnings on idle nodes

Posted: Mon Apr 30, 2012 1:37 pm
by gamechanger
I think that did the trick..

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