Nagios, memory tests, and Linux hosts...

Justin Pasher justinp at newmediagateway.com
Mon Mar 9 16:56:22 CET 2009


Andrew Davis wrote:
> So along with disk and CPU tests, I want to test for memory usage. I 
> pulled a perl memory script off Nagios Exchange and was quickly 
> reminded of how linux handles memory... how it leaves whatever has 
> been used previously as "reserved". Thus, a server with 4Gb of RAM may 
> show that 3.95Gb is in use, but in reality, more like 512Mb is in use 
> and the swap usage is under 10%, if used at all, confirming the 
> "actual versus reserved" issue. So how are you guys testing for memory 
> on Linux boxes that flag it as reserved when its not? Are there any 
> scripts on Nagios Exchange for memory testing that are better than others?

I use check_memory.pl. It properly takes buffers and cache into 
consideration (using the "free" command).

http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F1433.html;d=1

--
Justin Pasher

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list