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
189905
Files:
FileDescription
check_memory.plcheck_memory v.1.0
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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).