Get social


Search Exchange


Recently updated


Most downloaded


check_memory

Last Changed
Views
1686
628
0
0 total
5
4
3
2
1

Description

check_memory

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:

https://www.monitoring-plugins.org/doc/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).

Latest release

Release 1.0

1.0 Release

Files

Name Description Size Type Last Changed
check_memory.pl check_memory v.1.0 4.62 kB text/x-perl Download

Review

Pleae rate the project