
Linux
check_memory
Description:
Check free memory by parsing the free(1) command. Allows normal and percent thresholds. Prints performance data too.
Current Version
Last Release Date
June 16, 2009
Compatible With
Owner
Project Files
File | Description |
---|---|
check_memory.pl | check_memory v.1.0 |
Project Notes
Check memory by parsing the free(1) command. Allows normal and percent thresholds.
This plugin exclude the system cache and buffer, because on some system with very stable memory usage it is perfectly normal for system cache to fill in all available memory (most of it can be freed at any time if applications requires it). Please keep a margin for system cache and buffers when setting thresholds.
Usage: check_memory [ -w ] [ -c ] [ -u ]
WARNING: the regular threshold format is following the Nagios-plugins thresholds; so if you specify a single number if will warn when free memory is higher than the threshold. If you want to alert at 100 MB free you will have to use "@100" or "100:". See the following URL for more details:
http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT
Ex: Warning when there is less than 100 MB free and critical when there is less than 1% free:
./check_memory -w 100: -c 1%
Requires Nagios::Plugin and /usr/bin/free (edit the plug-in if you have a different path for free(1).
Reviews
(0)
Add a Review
Add a Review
You must be logged in to submit a review.
Thank you for your review!
Your review has been submitted and is pending approval.
Recommend
To:
From:
Thank you for your recommendation!
Your recommendation has been sent.
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
189,620