Page 1 of 1

Memory Check Question

Posted: Thu Dec 20, 2012 10:37 am
by ryan_breneman
Hello,

I'm using the built-in memory check command for linux ($USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c check_mem -a '-w 20 -c 10') and I'm getting the following service response: WARNING - 1378 / 1877 MB (%) Free Memory, Used: 499 MB, Shared: 0 MB, Buffers: 70 MB, Cached: 237 MB

My linux knowledge is not the best, however I don't think I should be seeing a warning here. If I'm reading this correctly it looks like I have 73% free memory, which shouldn't cause a warning.

I'm running CentOS 6.3

Thanks for any help you can give me.
Ryan

Re: Memory Check Question

Posted: Thu Dec 20, 2012 10:43 am
by lmiltchev
Run on the client machine:

Code: Select all

yum install dc -y
or

Code: Select all

sudo apt-get install dc
depending on the distro.


Hope this helps.

Re: Memory Check Question

Posted: Thu Dec 20, 2012 10:47 am
by ryan_breneman
When running the yum command I get:

Code: Select all

[root@concertosign ~]# yum install dc -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.lga7.us.voxel.net
 * epel: mirror.es.its.nyu.edu
 * extras: mirrors.einstein.yu.edu
 * updates: mirror.es.its.nyu.edu
Setting up Install Process
No package dc available.
When running the apt-get command I get:

Code: Select all

[root@concertosign ~]# sudo apt-get install dc
sudo: apt-get: command not found

Re: Memory Check Question

Posted: Thu Dec 20, 2012 10:47 am
by lmiltchev
I am sorry, try:

Code: Select all

yum install bc -y

Re: Memory Check Question

Posted: Thu Dec 20, 2012 10:54 am
by ryan_breneman
Awesome! Now I'm seeing
OK - 1375 / 1877 MB (73%) Free Memory, Used: 502 MB, Shared: 0 MB, Buffers: 71 MB, Cached: 239 MB

Thanks so much!

Re: Memory Check Question

Posted: Thu Dec 20, 2012 10:58 am
by lmiltchev
I'm glad I could help! :D