[Nagiosplug-devel] check_snmp_mem.pl - allways bee critical because linux all free RAM reserwed for buffers/cache

Patrick Proy nagios at proy.org
Sun Mar 19 08:46:03 CET 2006


Hi,

You can find here the latest version of check_snmp_mem.pl wich doesn't include cached memory in the used memory (derived from a patch of Erik Romijn) : 
http://www.manubulon.com/nagios/dev/check_snmp_mem.pl 
There is still an option to include it if needed (-m).

It hasn't been fully tested yet, but I think I will release it in april when all the tests are finished.

Patrick
http://www.manubulon.com/nagios/ 

-----Message d'origine-----
De : nagiosplug-devel-admin at lists.sourceforge.net [mailto:nagiosplug-devel-admin at lists.sourceforge.net] De la part de Michal Panasiewicz
Envoyé : vendredi 17 mars 2006 00:06
À : nagiosplug-devel at lists.sourceforge.net
Objet : [Nagiosplug-devel] check_snmp_mem.pl - allways bee critical because linux all free RAM reserwed for buffers/cache

# LC_ALL=C LANG=C /usr/lib/nagios/plugins/check_snmp_mem.pl -H 127.0.0.1 -C kancelariaro -2 -N -w 80,50 -c 90,60 Ram : 93%, Swap : 0% : > 90, 60 ; CRITICAL

# free
             total       used       free     shared    buffers
cached
Mem:       1035972     954296      81676          0       5588
802568
-/+ buffers/cache:     146140     889832
Swap:       249912          0     249912

--
Michał Panasiewicz - jabber: wolvverine [ at ] chrome [ dot ] pl  || e-mail: wolvverine [ at ] tlen [ dot ] pl , wolvverine [ at ] pld-linux [ dot ] org http://www.linkomp.pl - Linkomp - Usługi informatyczne dla firm - biuro [ at ] linkomp [ dot ] pl



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_snmp_mem.pl
Type: application/octet-stream
Size: 16563 bytes
Desc: not available
URL: <http://nagios-plugins.org/archive/devel/attachments/20060319/28730d0a/attachment.obj>


More information about the Devel mailing list