Monitoring Unix servers CPU, memory and hard-disk

Hari Sekhon hpsekhon at googlemail.com
Wed Mar 5 14:19:31 CET 2008


James E. Pratt wrote:
> Kinda off-topic, but why on earth would you care much about memory
> details on a Linux box? Most memory is cached, so output from, say,
> "free" is kinda useless. (Not sure where that plugin gets it's info
> though either?).. IMO You are much better off monitoring loadavg . (Or,
> am I just losing it?) 
>
> Regards,
> jp
You would care if you've ever used Linux and heard of oom-killer.

I wrote a plugin ages ago that checks this and takes this caching 
behaviour of Linux in to account.

http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=909

This plugin counts cache ram as free by default as it effectively is on 
Linux architecture and so this is the correct thing to do, but there is 
also a switch to change this behaviour if you want.

-h

-- 
Hari Sekhon


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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