Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
This PHP Nagios plugin calculates the real free memory according to http://www.linuxatemyram.com/. When you think that your Linux memory is always near to 100% consumed, that is properly not true. Linux calculates the free memory in a special way. This plugin tries to get the memory that is really still free to use. The plugin also returns performance data.
Current Version
1.0
Last Release Date
2014-11-28
Owner
Klement
Website
http://usolved.net
Download URL
https://github.com/usolved/check_usolved_linux_realmemory
License
GPL
Compatible With
You can download the latest version and see the full documentation on GitHub.
----------------------------------------------------------
INSTALLATION:
Just copy the file check_usolved_linux_realmemory.php into your Nagios plugin directory. For example into the path /usr/local/nagios/libexec/
Give check_usolved_linux_realmemory.php the permission for execution for the nagios user. If you have at least PHP 5 this plugin should run out-of-the-box.
Make sure to have the PHP SNMP module installed and enabled in your php.ini.
> apt-get install php5-snmp (Ubuntu, Debian, ...) or > yum install php-snmp (RedHat, CentOS, ...)
USAGE:
If you are in the Nagios plugin directory execute this command:
./check_usolved_linux_realmemory.php -H localhost -C public -w 90 -c 95 This should output something like this:
OK - 18.8% Memory used (1119 MB of 5962 MB), 0% Swap used (0 MB of 7807 MB) Here are all arguments that can be used with this plugin:
ARGUMENTS: -H (host address) Give the host address with the IP address or FQDN
-C (snmp community) Give the SNMP Community String
-w (warn) Warning treshold in percent
-c (crit) Critical treshold in percent
[-V (snmp version)] Optional: SNMP version 1 or 2c are supported, if argument not given version 1 is used by default
[-P (perfdata)] Optional: Give 'yes' as argument if you wish performace data output
[-S (swap)] Optional: Give 'no' as argument if you don't wish to return critical if swap is being used
You must be logged in to submit a review.
To:
From: