Andre Keller wrote: > Hi there > > does anybody have a memory plugin which adds the cached memory to the > free memory? Or does anybody know how I could modify check_mem.pl from > nagios exchange to accomplish that? > > > Thanks and regards > > André > I wrote a check_ram plugin which does this (in fact it includes Cache as Free by default as this reflects the way Linux really works, but there is also a switch to change this behaviour too if desired). You can find it here:
http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=909 It was the first nagios plugin I ever wrote and I haven't looked at it in a while so if there is anything that's imperfect, let me know and I'll change it. Thanks -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@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