Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_memory

Rating
0 votes
Favoured:
0
Hits
188403
Files:
FileDescription
check_memory.plcheck_memory v.1.0
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Check free memory by parsing the free(1) command. Allows normal and percent thresholds. Prints performance data too.
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).