Memory Check Question

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ryan_breneman
Posts: 22
Joined: Mon Nov 19, 2012 3:50 pm
Location: Lancaster, PA

Memory Check Question

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Memory Check Question

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ryan_breneman
Posts: 22
Joined: Mon Nov 19, 2012 3:50 pm
Location: Lancaster, PA

Re: Memory Check Question

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Memory Check Question

Post by lmiltchev »

I am sorry, try:

Code: Select all

yum install bc -y
Be sure to check out our Knowledgebase for helpful articles and solutions!
ryan_breneman
Posts: 22
Joined: Mon Nov 19, 2012 3:50 pm
Location: Lancaster, PA

Re: Memory Check Question

Post 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!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Memory Check Question

Post by lmiltchev »

I'm glad I could help! :D
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked